bad_getattr2.py 77 B

1234567
  1. def __getattr__():
  2. "Bad one"
  3. x = 1
  4. def __dir__(bad_sig):
  5. return []