Skip to content

Commit 123ac08

Browse files
committed
Simplifying type hint
1 parent 5e423f8 commit 123ac08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2/cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def with_argument_list(*args: List[Callable], preserve_quotes: bool = False) ->
186186
"""
187187
import functools
188188

189-
def arg_decorator(func: Callable[[Statement], Optional[bool]]):
189+
def arg_decorator(func: Callable):
190190
@functools.wraps(func)
191191
def cmd_wrapper(self, cmdline):
192192
lexed_arglist = parse_quoted_string(cmdline, preserve_quotes)

0 commit comments

Comments
 (0)