cpython/Lib/test/bad_getattr2.py

8 lines
77 B
Python

def __getattr__():
"Bad one"
x = 1
def __dir__(bad_sig):
return []