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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25432>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to