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 eric.araujo
Recipients docs@python, eric.araujo, eric.snow, ezio.melotti, flox, georg.brandl, michael.foord, pitrou, python-dev, rhettinger
Date 2011-11-18.17:06:24
SpamBayes Score 0.007156166
Marked as misclassified No
Message-id <1321635985.63.0.832356331352.issue13387@psf.upfronthosting.co.za>
In-reply-to
Content
+ To check for a specific type (without including superclasses) use
+ :func:`assertIs(type(obj), cls) <assertIs>`.

Don’t you mean “without accepting subclasses”, not superclasses?
History
Date User Action Args
2011-11-18 17:06:25eric.araujosetrecipients: + eric.araujo, georg.brandl, rhettinger, pitrou, ezio.melotti, michael.foord, flox, docs@python, python-dev, eric.snow
2011-11-18 17:06:25eric.araujosetmessageid: <1321635985.63.0.832356331352.issue13387@psf.upfronthosting.co.za>
2011-11-18 17:06:25eric.araujolinkissue13387 messages
2011-11-18 17:06:24eric.araujocreate