summaryrefslogtreecommitdiffstats
path: root/Lib/test/bad_getattr3.py
blob: 0d5f9266c7183d993e4763ccfb649432211a5016 (plain)
1
2
3
4
5
def __getattr__(name):
    if name != 'delgetattr':
        raise AttributeError
    del globals()['__getattr__']
    raise AttributeError