code: def _outdent(lines, spaces=None, all=True):
      """outdent lines of code, accounting for docs and line continuations"""
      indent = indentsize(lines[0])
      if spaces is None or spaces > indent or spaces < 0:
          spaces = indent
      for i in range(len(lines) if all else 1):
          # FIXME: works... but shouldn't outdent 2nd+ lines of multiline doc
          _indent = indentsize(lines[i])
          if spaces > _indent:
              _spaces = _indent
          else:
              _spaces = spaces
          lines[i] = lines[i][_spaces:]
      return lines
  
imports: import linecache
  import re
  from inspect import getblock, getfile, getmodule, getsourcefile, indentsize, isbuiltin, isclass, iscode, isframe, isfunction, ismethod, ismodule, istraceback
  from tokenize import TokenError
  from ._dill import IS_IPYTHON
label_desc: Use image node_id 13 for calling a global function with example usage: _outdent(lines, spaces, all) and returns: lines