From: Ezio Melotti Date: Mon, 19 Dec 2011 05:04:48 +0000 (+0200) Subject: #13387: rephrase unclear sentence. X-Git-Tag: v3.2.3rc1~266 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80a61e8d4c551367d288d880d9d59e7e5cf35074;p=thirdparty%2FPython%2Fcpython.git #13387: rephrase unclear sentence. --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 990bd4853f6b..58338685d661 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -929,8 +929,7 @@ Test cases Test that *obj* is (or is not) an instance of *cls* (which can be a class or a tuple of classes, as supported by :func:`isinstance`). - To check for a specific type (without including superclasses) use - :func:`assertIs(type(obj), cls) `. + To check for the exact type, use :func:`assertIs(type(obj), cls) `. .. versionadded:: 3.2