[ python-Feature Requests-1670167 ] isinstance.__doc__ is somewhat irritating

SourceForge.net noreply at sourceforge.net
Tue Feb 27 18:26:34 CET 2007


Feature Requests item #1670167, was opened at 2007-02-27 18:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1670167&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: René Fleschenberg (refl)
Assigned to: Nobody/Anonymous (nobody)
Summary: isinstance.__doc__ is somewhat irritating

Initial Comment:
"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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1670167&group_id=5470


More information about the Python-bugs-list mailing list