[Python-ideas] Allow isinstance second argument to be a set of types
greg.ewing at canterbury.ac.nz
Mon Jul 4 09:02:03 CEST 2011
Michael Foord wrote:
> It would feel cleaner to me if I could make FunctionTypes a set and use
> that as the second argument to isinstance. :-)
Or more generally, any iterable object?
More information about the Python-ideas