[Python-checkins] cpython (3.2): #13387: rephrase unclear sentence.
ezio.melotti
python-checkins at python.org
Mon Dec 19 06:07:36 CET 2011
http://hg.python.org/cpython/rev/eccb4795767b
changeset: 74065:eccb4795767b
branch: 3.2
parent: 74062:56731ccf2e86
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Mon Dec 19 07:04:48 2011 +0200
summary:
#13387: rephrase unclear sentence.
files:
Doc/library/unittest.rst | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -929,8 +929,7 @@
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:: 3.2
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list