diff options
author | kotfu <kotfu@kotfu.net> | 2018-05-23 21:16:17 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-05-23 21:16:17 -0600 |
commit | 6780baa83457f7e99ba3a9c4f6a3c27701326ac5 (patch) | |
tree | c130136619c740645c45326a2ada0fcffa9f65a2 /examples/event_loops.py | |
parent | 1a70b90f375997751bc7df16b5e3f58c6194c71b (diff) | |
download | cmd2-git-6780baa83457f7e99ba3a9c4f6a3c27701326ac5.tar.gz |
Standardize cmd2 imports in tests and examples
Diffstat (limited to 'examples/event_loops.py')
-rwxr-xr-x | examples/event_loops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/event_loops.py b/examples/event_loops.py index a76c5d91..53d3ca2b 100755 --- a/examples/event_loops.py +++ b/examples/event_loops.py @@ -6,7 +6,7 @@ This is an example of how to use cmd2 in a way so that cmd2 doesn't own the inne This opens up the possibility of registering cmd2 input with event loops, like asyncio, without occupying the main loop. """ -from cmd2 import cmd2 +import cmd2 class Cmd2EventBased(cmd2.Cmd): |