mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
#13387: merge with 3.2.
This commit is contained in:
commit
5ce6f8ed5c
1 changed files with 1 additions and 2 deletions
|
@ -933,8 +933,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…
Add table
Add a link
Reference in a new issue