]> granicus.if.org Git - python/commit
Change issubclass() so that recursive tuples (directly or indirectly
authorWalter Dörwald <walter@livinglogic.de>
Thu, 12 Dec 2002 19:14:08 +0000 (19:14 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Thu, 12 Dec 2002 19:14:08 +0000 (19:14 +0000)
commit7e5c6a02eba1a6f5e93bfa1241ceff39bec9f3c9
tree503cd8986a6ced722156e1e4eda5accd6e8bc9e8
parent1b3b49d1325475bc54743125ee5e519c62fc45f1
Change issubclass() so that recursive tuples (directly or indirectly
containing class objects) are allowed as the second argument.
This makes issubclass() more similar to isinstance() where recursive
tuples are allowed too.
Lib/test/test_isinstance.py
Objects/abstract.c
Objects/classobject.c