Set type?

_ webb.sprague at gmail.com
Thu Jan 4 19:48:00 CET 2007


How do you check to see if a variable is a set?  I would like to use

if type(var) is types.SetType:
   blah

but that is not available in types module.  I am using 2.4




More information about the Python-list mailing list