parameters: (self, line)
return_statement: return cmd, arg, line
docstring: Parse the line into a command name and a string containing
          the arguments.  Returns a tuple containing (command, args, line).
          'command' and 'args' may be None if the line couldn't be parsed.
docstring_summary: Parse the line into a command name and a string containing
          the arguments.  Returns a tuple containing (command, args, line).
          'command' and 'args' may be None if the line couldn't be parsed.
docstring_tokens: Parse the line into a command name and a string containing the arguments . Returns a tuple containing ( command args line ) . command and args may be None if the line couldn t be parsed .
function: def parseline(self, line):
          """Parse the line into a command name and a string containing
          the arguments.  Returns a tuple containing (command, args, line).
          'command' and 'args' may be None if the line couldn't be parsed.
          """
          line = line.strip()
          if not line:
              return None, None, line
          elif line[0] == '?':
              line = 'help ' + line[1:]
          elif line[0] == '!':
              if hasattr(self, 'do_shell'):
                  line = 'shell ' + line[1:]
              else:
                  return None, None, line
          i, n = 0, len(line)
          while i < n and line[i] in self.identchars: i = i+1
          cmd, arg = line[:i], line[i:].strip()
          return cmd, arg, line
function_tokens: def parseline ( self , line ) : line = line . strip ( ) if not line : return None , None , line elif line [ 0 ] == '?' : line = 'help ' + line [ 1 : ] elif line [ 0 ] == '!' : if hasattr ( self , 'do_shell' ) : line = 'shell ' + line [ 1 : ] else : return None , None , line i , n = 0 , len ( line ) while i < n and line [ i ] in self . identchars : i = i + 1 cmd , arg = line [ : i ] , line [ i : ] . strip ( ) return cmd , arg , line