cpython/Lib/test/bad_getattr.py

5 lines
61 B
Python

x = 1
__getattr__ = "Surprise!"
__dir__ = "Surprise again!"