minor patch using the set builtin

Martin Pool mbp at sourcefrog.net
Thu May 19 10:25:39 BST 2005


On 19 May 2005, Mario Pernici <Mario.Pernici at mi.infn.it> wrote:
> $ python2.3
> >>> try: set
> ... except NameError: from sets import Set as set

Ah, very elegant.  

(I think I tend to treat Python too much like a statically-compiled
language.

-- 
Martin




More information about the bazaar mailing list