mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
#13387: rephrase unclear sentence.
This commit is contained in:
parent
6c3f4a8a24
commit
080b6f071f
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue