Files
Android11/external/python/cpython3/Lib/test/bad_getattr3.py
2023-10-13 14:01:41 +00:00

6 lines
139 B
Python

def __getattr__(name):
if name != 'delgetattr':
raise AttributeError
del globals()['__getattr__']
raise AttributeError