parameters: (s, indent)
return_statement: return out
docstring: Generate a method definition stub from the signature and an indent.
      The indent is a string (tabs or spaces).
docstring_summary: Generate a method definition stub from the signature and an indent.
      The indent is a string (tabs or spaces).
docstring_tokens: Generate a method definition stub from the signature and an indent . The indent is a string ( tabs or spaces ) .
function: def make_def(s, indent):
      """Generate a method definition stub from the signature and an indent.
      The indent is a string (tabs or spaces).
      """
      pos = 0
      out = ""
      while pos < len(s) and s[pos] == '@':
          end = s.find('\n', pos) + 1
          if end == 0:
              end = len(s)
          out += indent
          out += s[pos:end]
          pos = end
      if pos < len(s):
          out += indent
          out += "def "
          out += s[pos:]
          out += ": ..."
      return out
function_tokens: def make_def ( s , indent ) : pos = 0 out = "" while pos < len ( s ) and s [ pos ] == '@' : end = s . find ( '\n' , pos ) + 1 if end == 0 : end = len ( s ) out += indent out += s [ pos : end ] pos = end if pos < len ( s ) : out += indent out += "def " out += s [ pos : ] out += ": ..." return out