summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-12-19 05:04:48 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-12-19 05:04:48 (GMT)
commit080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6 (patch)
tree420f7e863a7cda2b404ebb9f25b587d6f94aa880 /Doc
parent6c3f4a8a246cfdec15387b60876ada321ac43074 (diff)
downloadcpython-080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6.zip
cpython-080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6.tar.gz
cpython-080b6f071f6d9d61bf0c6c783c505aea5dfa6ae6.tar.bz2
#13387: rephrase unclear sentence.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/unittest.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 3d8a84d..787d1a6 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -895,8 +895,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) <assertIs>`.
+ To check for the exact type, use :func:`assertIs(type(obj), cls) <assertIs>`.
.. versionadded:: 2.7