diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-17 19:30:18 -0700 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-17 19:30:18 -0700 |
| commit | 9697bf1858c6ef06e13bdfd3dfaea6d0376d9a6a (patch) | |
| tree | caef34b8dbc7389b249876d182e1ec6629f02db3 /cmd2/__init__.py | |
| parent | b3e6625001e64a2516eba33ca526d45e25d1ca5f (diff) | |
| download | cmd2-git-9697bf1858c6ef06e13bdfd3dfaea6d0376d9a6a.tar.gz | |
Cleaned up __init__.py
Removed things which were only needed for unit tests from __init__.py
- Converted to importing from cmd2.cmd2.<foo> within the relevant unit tests
Diffstat (limited to 'cmd2/__init__.py')
| -rw-r--r-- | cmd2/__init__.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cmd2/__init__.py b/cmd2/__init__.py index 18b80585..8e744e03 100644 --- a/cmd2/__init__.py +++ b/cmd2/__init__.py @@ -1,8 +1,5 @@ # # -*- coding: utf-8 -*- # -from .cmd2 import Cmd, Cmd2TestCase, set_posix_shlex, set_strip_quotes, AddSubmenu, cast -from .cmd2 import _which, get_paste_buffer, __version__, POSIX_SHLEX, STRIP_QUOTES_FOR_NON_POSIX -from .cmd2 import can_clip, disable_clip, with_category, categorize -from .cmd2 import with_argument_list, with_argparser, with_argparser_and_unknown_args -from .cmd2 import ParserManager, History, HistoryItem, EmptyStatement, CmdResult +from .cmd2 import __version__, Cmd, set_posix_shlex, set_strip_quotes, AddSubmenu, CmdResult, categorize +from .cmd2 import with_argument_list, with_argparser, with_argparser_and_unknown_args, with_category |
