Skip to content

Commit 6f054f9

Browse files
committed
Removed slightly inaccurate comment
1 parent 5871719 commit 6f054f9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd2.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ def flag_based_complete(text, line, begidx, endidx, flag_dict, default_completer
189189
# Invalid syntax for shlex (Probably due to missing closing quote)
190190
return []
191191

192-
# Empty command line
193192
if len(tokens) == 0:
194193
return []
195194

@@ -308,7 +307,6 @@ def path_complete(text, line, begidx, endidx, dir_exe_only=False, dir_only=False
308307
# Invalid syntax for shlex (Probably due to missing closing quote)
309308
return []
310309

311-
# Empty command line
312310
if len(tokens) == 0:
313311
return []
314312

@@ -2101,7 +2099,6 @@ def complete_shell(self, text, line, begidx, endidx):
21012099
# Invalid syntax for shlex (Probably due to missing closing quote)
21022100
return []
21032101

2104-
# Empty command line
21052102
if len(tokens) == 0:
21062103
return []
21072104

0 commit comments

Comments
 (0)