]> granicus.if.org Git - python/commit
classobject.c:instancemethod_descr_get(): when a bound method is
authorGuido van Rossum <guido@python.org>
Thu, 16 Aug 2001 20:41:56 +0000 (20:41 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 16 Aug 2001 20:41:56 +0000 (20:41 +0000)
commit501c7c7d0eb8c8fb1a9384092efed0141052f324
tree99b329657928c633cb364d0e357b9ea0c7426662
parent2907fe6ce7376e73d84c8a29dedd37d8b3e4a225
classobject.c:instancemethod_descr_get(): when a bound method is
assigned to a class variable and then accessed via an instance, it
should not be rebound.

test_descr.py:methods(): test for the condition above.
Lib/test/test_descr.py
Objects/classobject.c