Florent Xicluna <florent.xicl...@gmail.com> added the comment:

> +1 on a doc addition (I can even volunteer a patch)

I agree we can highlight the difference between assertIs(type(obj), cls) and 
assertIsInstance(obj, cls) in the documentation.

Let's forget this patch and keep it simple.

----------
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python
stage:  -> needs patch
title: add exact_type argument to assertIsInstance -> suggest 
assertIs(type(obj), cls) for exact type checking
type: feature request -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13387>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to