summaryrefslogtreecommitdiff
path: root/examples/pirate.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pirate.py')
-rwxr-xr-xexamples/pirate.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/pirate.py b/examples/pirate.py
index cfe545d6..f3a8fc7a 100755
--- a/examples/pirate.py
+++ b/examples/pirate.py
@@ -29,10 +29,6 @@ class Pirate(Cmd):
self.initial_gold = self.gold
self.prompt = 'arrr> '
- def default(self, line):
- """This handles unknown commands."""
- self.poutput('What mean ye by "{0}"?'.format(line))
-
def precmd(self, line):
"""Runs just before a command line is parsed, but after the prompt is presented."""
self.initial_gold = self.gold