# HG changeset patch # User Steve Losh # Date 1251508706 14400 # Node ID a818bb6f91193445c03e1ea0e8f51894b2593208 # Parent e0afc487bbe0bb8162cf3731ecf686523982a2d0 Add more docstrings. diff -r e0afc487bbe0 -r a818bb6f9119 t.py --- a/t.py Fri Aug 28 21:15:26 2009 -0400 +++ b/t.py Fri Aug 28 21:18:26 2009 -0400 @@ -175,6 +175,7 @@ def _build_parser(): + """Return a parser for the command-line interface.""" parser = OptionParser() parser.add_option("-a", "--add", @@ -203,6 +204,7 @@ return parser def _main(): + """Run the command-line interface.""" (options, args) = _build_parser().parse_args() td = TaskDict(taskdir=options.taskdir, name=options.name)