mirror of
https://github.com/python/cpython.git
synced 2024-12-18 22:34:08 +08:00
6 lines
139 B
Python
6 lines
139 B
Python
|
def __getattr__(name):
|
||
|
if name != 'delgetattr':
|
||
|
raise AttributeError
|
||
|
del globals()['__getattr__']
|
||
|
raise AttributeError
|