]> granicus.if.org Git - python/commit
In a world with a growing number of subclassable types, replace
authorTim Peters <tim.peters@gmail.com>
Sun, 16 Sep 2001 08:40:16 +0000 (08:40 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 16 Sep 2001 08:40:16 +0000 (08:40 +0000)
commit28bc59f1169298470f7c80ed54810a330d68b3c8
tree199d8aae3a0047088d9bd932716148d36264acce
parenta2e2dbe8cda41d5c612d41acad2fe5cfb841402e
In a world with a growing number of subclassable types, replace
    type(x) is T
tests with
    isinstance(x, T)
Also got rid of a future-generators import, left over from code that
wasn't intended to get checked in.
Lib/inspect.py