]> granicus.if.org Git - python/commit
dynamics(): add a dummy __getattr__ method to the C class so that the
authorGuido van Rossum <guido@python.org>
Wed, 3 Oct 2001 13:59:54 +0000 (13:59 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 3 Oct 2001 13:59:54 +0000 (13:59 +0000)
commit4a5a2bc2b66f9a4a2e390dbf8d0cf0c362a0f409
treee35235a7ffad86089859747ad056aa481a53ac78
parent1e1de1cf35ebd6b3cfcc20e40991fa437b8e9864
dynamics(): add a dummy __getattr__ method to the C class so that the
test for modifying __getattr__ works, now that slot_tp_getattr_hook
zaps the slot if there's no hook.  Added an XXX comment with a ref
back to slot_tp_getattr_hook.
Lib/test/test_descr.py