code: def unindent_docstring(docstring):
      lines = docstring.splitlines()
      first, *rest = lines or [""]
      second = next((line for line in rest if line), "")
      indent = len(second) - len(second.lstrip())
      if any(line[:indent].strip() for line in rest):
          raise ValueError("Unexpected unindent in docstring")
      return [first] + [line[indent:] for line in rest]
  
imports: import collections
  import contextlib
  import itertools
  import json
  import os
  import typing
  from pytext.config import ConfigBase, ExportConfig, PyTextConfig
  from pytext.config.component import Registry
  from pytext.config.serialize import config_to_json
  from pytext.utils.file_io import PathManager
  from sphinx.ext.napoleon import GoogleDocstring
  from sphinx.pycode import ModuleAnalyzer
label_desc: Use image node_id 7 for calling a global function with example usage: unindent_docstring(docstring) and returns: unknown