]> granicus.if.org Git - python/commitdiff
#13387: rephrase unclear sentence.
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 19 Dec 2011 05:04:48 +0000 (07:04 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 19 Dec 2011 05:04:48 +0000 (07:04 +0200)
Doc/library/unittest.rst

index 3d8a84db38e1803ce4f63d7077e368fbeebc5dc9..787d1a61f43a4bfc0254d2d7a6d3b4b5bba27162 100644 (file)
@@ -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