[docs] [issue24515] docstring of isinstance

Steven D'Aprano report at bugs.python.org
Fri Jun 26 11:58:18 CEST 2015


Steven D'Aprano added the comment:

It already does:

"The form using a tuple, isinstance(x, (A, B, ...)), is a shortcut
for isinstance(x, A) or isinstance(x, B) or ... (etc.)."

If it were "all", it would use "and", not "or".

I don't think any change is needed. Do you have a suggestion for new wording? If not, I'm going to close this issue.

----------
nosy: +steven.daprano

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


More information about the docs mailing list