[Python-ideas] Allow isinstance second argument to be a set of types

Benjamin Peterson benjamin at python.org
Wed Jul 6 18:55:41 CEST 2011

Michael Foord <fuzzyman at ...> writes:

> It would feel cleaner to me if I could make FunctionTypes a set and use that
as the second argument to isinstance. 

I just had a another thought about abritrary collections. It was explode loudly
if you made an class.

More information about the Python-ideas mailing list