diff options
author | anselor <anselor@gmail.com> | 2018-05-02 15:29:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 15:29:45 -0400 |
commit | d37004d05d0be67f48f35d6986ea899a35bcf89f (patch) | |
tree | b4575eda772450b54620d16c09d4d29c52abdec7 /examples/event_loops.py | |
parent | 01e4e0296adf57c920c1e12c3c92f45f615894b1 (diff) | |
parent | a95c8a065abeac286c196783393ecc49e4356f54 (diff) | |
download | cmd2-git-d37004d05d0be67f48f35d6986ea899a35bcf89f.tar.gz |
Merge pull request #379 from python-cmd2/pyscript
This merges pyscript and bash_completion branches into master
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 53d3ca2b..a76c5d91 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. """ -import cmd2 +from cmd2 import cmd2 class Cmd2EventBased(cmd2.Cmd): |