This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: isinstance.__doc__ is somewhat irritating
Type: enhancement Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, refl
Priority: normal Keywords:

Created on 2007-02-27 17:26 by refl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg55019 - (view) Author: René Fleschenberg (refl) Date: 2007-02-27 17:26
"With a type as second argument, return whether that is the object's type."

That sentence does not really make sense, at least not for new-style classes. After reading that, one could expect that isinstance(1, object) would return False. I think the best thing would be to just drop that sentence from the doc string.
msg55020 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-16 08:34
Fixed in rev. 54409, 54410 (2.5).
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44632
2007-02-27 17:26:34reflcreate