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