Skip to content

Commit 3d488c7

Browse files
committed
Removed duplicate word and capitalized two comment sentences
1 parent b74b272 commit 3d488c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd2/ansi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
always be output.
3333
"""
3434

35-
# Controls when ANSI style style sequences are allowed in output
35+
# Controls when ANSI style sequences are allowed in output
3636
allow_style = STYLE_TERMINAL
3737
"""When using outside of a cmd2 app, set this variable to one of:
3838

cmd2/argparse_custom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def my_completer_function(text, line, begidx, endidx):
9292
9393
Example::
9494
95-
# this adds file-path completion to an argument
95+
# This adds file-path completion to an argument
9696
parser.add_argument('-o', '--options', completer_method=cmd2.Cmd.path_complete)
9797
9898
@@ -101,7 +101,7 @@ def my_completer_function(text, line, begidx, endidx):
101101
102102
Example::
103103
104-
# this says to call path_complete with a preset value for its path_filter argument.
104+
# This says to call path_complete with a preset value for its path_filter argument
105105
completer_method = functools.partial(path_complete,
106106
path_filter=lambda path: os.path.isdir(path))
107107
parser.add_argument('-o', '--options', choices_method=completer_method)

0 commit comments

Comments
 (0)