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.

Author terry.reedy
Recipients Luc Saffre, docs@python, steven.daprano, terry.reedy
Date 2015-06-26.21:20:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435353618.07.0.903720805027.issue24515@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that the tuple explanation if ok.  But "Return whether an object is an instance of a class or of a subclass thereof." (3.5) seems wrong.  I believe 'subclass' should be 'superclass'.
    
>>> class C: pass

>>> class Csub(C): pass

>>> isinstance(C(), Csub)
False
>>> isinstance(Csub(), C)
True
History
Date User Action Args
2015-06-26 21:20:18terry.reedysetrecipients: + terry.reedy, steven.daprano, docs@python, Luc Saffre
2015-06-26 21:20:18terry.reedysetmessageid: <1435353618.07.0.903720805027.issue24515@psf.upfronthosting.co.za>
2015-06-26 21:20:18terry.reedylinkissue24515 messages
2015-06-26 21:20:18terry.reedycreate