diff options
Diffstat (limited to 'examples/pirate.py')
-rwxr-xr-x | examples/pirate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pirate.py b/examples/pirate.py index f3a8fc7a..7fe3884b 100755 --- a/examples/pirate.py +++ b/examples/pirate.py @@ -23,7 +23,7 @@ class Pirate(Cmd): self.shortcuts.update({'~': 'sing'}) """Initialize the base class as well as this one""" - Cmd.__init__(self) + super().__init__() # prompts and defaults self.gold = 0 self.initial_gold = self.gold |