Kaydet (Commit) 7cebbf39 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Add docstring

üst 6c2871e7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment