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

Robert Collins robertc at robertcollins.net
Mon Jul 4 01:04:09 CEST 2011


On Mon, Jul 4, 2011 at 10:47 AM, Michael Foord <fuzzyman at gmail.com> wrote:
> Hello all,
..
> It would feel cleaner to me if I could make FunctionTypes a set and use that
> as the second argument to isinstance. :-)
> Michael

FWIW +1.



More information about the Python-ideas mailing list