[Python-checkins] cpython (2.7): #13387: rephrase unclear sentence.

ezio.melotti python-checkins at python.org
Mon Dec 19 06:07:19 CET 2011


http://hg.python.org/cpython/rev/88aacd3541ae
changeset: 74064:88aacd3541ae
branch: 2.7
parent: 74055:6a95820b9607
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
@@ -895,8 +895,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:: 2.7
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /