summaryrefslogtreecommitdiff
path: root/examples/event_loops.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-05-02 15:22:14 -0400
committerEric Lin <anselor@gmail.com>2018-05-02 15:22:14 -0400
commita55f0b6ed559d03f2d8b596898d638b288c11a68 (patch)
tree54d84c8d1d7c14247ac3a22186ed106190a8b494 /examples/event_loops.py
parentdbf4846e8bc0e6ca38c928d8fe4752f9b6173803 (diff)
parenta95c8a065abeac286c196783393ecc49e4356f54 (diff)
downloadcmd2-git-a55f0b6ed559d03f2d8b596898d638b288c11a68.tar.gz
Merge branch 'test_merge' into test_ply_merge
Diffstat (limited to 'examples/event_loops.py')
-rwxr-xr-xexamples/event_loops.py2
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):