From 60dddb03d05ccf4088242a524e624f61782dd40f Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 15 Apr 2018 14:26:29 -0700 Subject: Started removing dependency on six Removed all dependency on six other than for six.moves.input Also: - Started removing code branches which were for Python 2 support --- examples/pirate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pirate.py') 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 -- cgit v1.2.1