code: def leading_indent():
      """Remove leading indentation.
  
      If the first line starts with a spaces or tabs, the same whitespace will be
      removed from each following line until it is reset.
      """
      space_re = re.compile(r"^[ \t]+")
      line = ""
      while True:
          line = yield line
  
          if line is None:
              continue
  
          m = space_re.match(line)
          if m:
              space = m.group(0)
              while line is not None:
                  if line.startswith(space):
                      line = line[len(space) :]
                  line = yield line
          else:
              # No leading spaces - wait for reset
              while line is not None:
                  line = yield line
  
imports: import abc
  import functools
  import re
  import tokenize
  from tokenize import untokenize, TokenError
  from io import StringIO
  from IPython.core.splitinput import LineInfo
  from IPython.utils import tokenutil
label_desc: Use image node_id 19 for calling a global function with example usage: leading_indent() without return types