[Zope-dev] Re: [Zope-Checkins] CVS: Products/PluginIndexes/common - UnIndex.py:1.20.2.7

Chris Withers chris at simplistix.co.uk
Tue May 31 04:03:52 EDT 2005


Tres Seaver wrote:
> +                if set is None:
> +                    set = IISet(())
> +                elif type(set) is IntType: # isinstance(set, int) for 2.8

How come isinstance is only to be used for 2.8?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list