]> granicus.if.org Git - python/commit
classic(), methods(): add another test relating to unbound methods:
authorGuido van Rossum <guido@python.org>
Fri, 17 Aug 2001 13:40:47 +0000 (13:40 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 17 Aug 2001 13:40:47 +0000 (13:40 +0000)
commit93018760bc597f65e8a94c30546eafafd095f170
tree93feb4ab6b0e6eb1e325ef3bfafb7f5a5f30fb3d
parentcdf0d75897ddde0b27bad24aac4845824578f5ee
classic(), methods(): add another test relating to unbound methods:
when an unbound method of class A is stored as a class variable of
class B, and class B is *not* a subclass of class A, that method
should *not* get bound to B instances.
Lib/test/test_descr.py