mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Bug #1697782: remove all remaining code that uses types.InstanceType.
This commit is contained in:
parent
b5ddcfd2a2
commit
57b39e0916
8 changed files with 10 additions and 38 deletions
|
@ -15,7 +15,6 @@ class TestIsInstanceExceptions(unittest.TestCase):
|
|||
# (leading to an "undetected error" in the debug build). Set up is,
|
||||
# isinstance(inst, cls) where:
|
||||
#
|
||||
# - inst isn't an InstanceType
|
||||
# - cls isn't a ClassType, a TypeType, or a TupleType
|
||||
# - cls has a __bases__ attribute
|
||||
# - inst has a __class__ attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue