From 04cdcb0feb369ac4c60e10ccdc139c57e8b52e62 Mon Sep 17 00:00:00 2001 From: Zearin Date: Fri, 7 Oct 2011 10:34:23 -0400 Subject: Removed leftovers from installing with pip. Oops! I noticed there was a bunch of extra crap left over from when I installed this module onto my own system. I thought it wouldn't have modified itself at the time (just the Python module library on my system), but I was wrong. Begone, useless cruft! --- doxygen/html/pirate3_8py_source.html | 149 ----------------------------------- 1 file changed, 149 deletions(-) delete mode 100644 doxygen/html/pirate3_8py_source.html (limited to 'doxygen/html/pirate3_8py_source.html') diff --git a/doxygen/html/pirate3_8py_source.html b/doxygen/html/pirate3_8py_source.html deleted file mode 100644 index 99122bc..0000000 --- a/doxygen/html/pirate3_8py_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate3.py
-
-
-Go to the documentation of this file.
00001 from cmd import Cmd
-00002 # using hook
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     def do_loot(self, arg):
-00007         'Seize booty from a passing ship.'
-00008         self.gold += 1
-00009     def do_drink(self, arg):
-00010         'Drown your sorrrows in rrrum.'        
-00011         self.gold -= 1
-00012     def precmd(self, line):
-00013         self.initial_gold = self.gold
-00014         return line
-00015     def postcmd(self, stop, line):   
-00016         if self.gold != self.initial_gold:
-00017             print('Now we gots {0} doubloons'
-00018                   .format(self.gold))
-00019 
-00020 pirate = Pirate()
-00021 pirate.cmdloop()
-
-
- - - - - -- cgit v1.2.1