]> granicus.if.org Git - python/commitdiff
Add docstring
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 22 Oct 2003 14:38:54 +0000 (14:38 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 22 Oct 2003 14:38:54 +0000 (14:38 +0000)
Lib/cmd.py

index 54be8a0463e487ec843fc943724e3c92540cf31b..0bb0c0372314e87377cf88c772b96e1f063cc459 100644 (file)
@@ -169,6 +169,10 @@ class Cmd:
                 pass
 
     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