docs: def get_line(thing):
      """
      Get the line number for something.
      Parameters
      ----------
      thing : function, class, module
  
      Returns
      -------
      int
          Line number in the source file
      """
      try:
          return inspect.getsourcelines(thing)[1]
      except TypeError:
          # Might be a property
          return inspect.getsourcelines(thing.fget)[1]
      except Exception as e:
          # print(thing)
          raise e