rep1/python37/Lib/test/bad_getattr2.py

8 lines
77 B
Python
Raw Permalink Normal View History

2024-11-21 09:00:42 +08:00
def __getattr__():
"Bad one"
x = 1
def __dir__(bad_sig):
return []