docs: def load(stream):
      """Parse the LHA document and produce the corresponding Python object.
      Accepts a string or a file-like object."""
      if isinstance(stream, str):
          string = stream
      else:
          string = stream.read()
      tokens = tokenize(string)
      return parse(tokens)