mirror of
https://github.com/python/cpython.git
synced 2024-12-26 10:14:58 +08:00
#13387: rephrase unclear sentence.
This commit is contained in:
parent
a51623b160
commit
80a61e8d4c
@ -929,8 +929,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:: 3.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user