1x = 1 2 3def __dir__(): 4 return ['a', 'b', 'c'] 5 6def __getattr__(name): 7 if name == "yolo": 8 raise AttributeError("Deprecated, use whatever instead") 9 return f"There is {name}" 10 11y = 2 12