diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-17 14:13:28 -0500 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-17 14:13:28 -0500 |
| commit | d80b27f8e259ffe3b14cef88e8ed9cde350ba397 (patch) | |
| tree | e728a25def93009c8872a6e04186e34e119a37ba /cmd2/__init__.py | |
| parent | 878601bc07e5298d50fbf1bd6a8fc2062fef5ed4 (diff) | |
| download | cmd2-git-d80b27f8e259ffe3b14cef88e8ed9cde350ba397.tar.gz | |
Made CompletionError exception available to non-argparse tab completion
Diffstat (limited to 'cmd2/__init__.py')
| -rw-r--r-- | cmd2/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/__init__.py b/cmd2/__init__.py index 43578e46..73d70821 100644 --- a/cmd2/__init__.py +++ b/cmd2/__init__.py @@ -11,7 +11,7 @@ except DistributionNotFound: pass from .ansi import style, fg, bg -from .argparse_custom import Cmd2ArgumentParser, CompletionError, CompletionItem, set_default_argument_parser +from .argparse_custom import Cmd2ArgumentParser, CompletionItem, set_default_argument_parser # Check if user has defined a module that sets a custom value for argparse_custom.DEFAULT_ARGUMENT_PARSER import argparse @@ -27,4 +27,4 @@ from .constants import COMMAND_NAME, DEFAULT_SHORTCUTS from .decorators import categorize, with_argument_list, with_argparser, with_argparser_and_unknown_args, with_category from .parsing import Statement from .py_bridge import CommandResult -from .utils import Settable +from .utils import CompletionError, Settable |
