Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80a61e8

Browse files
committed
#13387: rephrase unclear sentence.
1 parent a51623b commit 80a61e8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Doc/library/unittest.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -929,8 +929,7 @@ Test cases
929929

930930
Test that *obj* is (or is not) an instance of *cls* (which can be a
931931
class or a tuple of classes, as supported by :func:`isinstance`).
932-
To check for a specific type (without including superclasses) use
933-
:func:`assertIs(type(obj), cls) <assertIs>`.
932+
To check for the exact type, use :func:`assertIs(type(obj), cls) <assertIs>`.
934933

935934
.. versionadded:: 3.2
936935

0 commit comments

Comments
 (0)