[docs] [issue25432] isinstance documentation: explain behavior when type is a tuple

R. David Murray report at bugs.python.org
Mon Oct 26 16:37:45 EDT 2015


R. David Murray added the comment:

The fact that nested tuples are accepted is just bizarre, IMO :(.

It could say something like "If classinfo is a (possibly nested) list of types, return True if any of the types match."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25432>
_______________________________________


More information about the docs mailing list