diff options
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 24efa830..53d3ca2b 100755 --- a/examples/event_loops.py +++ b/examples/event_loops.py @@ -12,7 +12,7 @@ import cmd2 class Cmd2EventBased(cmd2.Cmd): """Basic example of how to run cmd2 without it controlling the main loop.""" def __init__(self): - cmd2.Cmd.__init__(self) + super().__init__() # ... your class code here ... |