[docs] [issue25432] isinstance documentation: explain behavior when type is a tuple
Terry J. Reedy
report at bugs.python.org
Sun Oct 25 20:52:32 EDT 2015
Terry J. Reedy added the comment:
Perhaps add after third sentence (ending with "not accepted)."), "If classinfo is a tuple, isinstance(x, classinfo) is the same as any(isinstance(x, C) for C in flatten(classinfo))".
----------
nosy: +terry.reedy
stage: -> needs patch
title: isinstance documentation doesn't explain what happens when type is tuple -> isinstance documentation: explain behavior when type is a tuple
type: -> enhancement
versions: +Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25432>
_______________________________________
More information about the docs
mailing list