[docs] [issue13387] suggest assertIs(type(obj), cls) for exact type checking
Éric Araujo
report at bugs.python.org
Mon Nov 21 14:46:39 CET 2011
Éric Araujo <merwok at netwok.org> added the comment:
Your latest proposal is better. I would prefer mentioning subclasses, but don’t feel strongly about it. One markup nit: I’d use ``code`` instead of (ab)using :func:; the doc for assertIs is just a few paragraphs above, it won’t be hard to find.
----------
resolution: fixed ->
stage: committed/rejected -> commit review
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13387>
_______________________________________
More information about the docs
mailing list