Éric Araujo <[email protected]> added the comment: + 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? ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue13387> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
