Mercurial > python-cmd2
diff docs/pycon2010/pirate2.py @ 374:89e38f922c25
font sizes up
author | cat@eee |
---|---|
date | Sat, 20 Feb 2010 00:11:34 -0500 |
parents | 8a5bc9f5c28e |
children |
line wrap: on
line diff
--- a/docs/pycon2010/pirate2.py Fri Feb 19 12:20:44 2010 -0500 +++ b/docs/pycon2010/pirate2.py Sat Feb 20 00:11:34 2010 -0500 @@ -6,11 +6,13 @@ def do_loot(self, arg): 'Seize booty from a passing ship.' self.gold += 1 - print('Now we gots {0} doubloons'.format(self.gold)) + print('Now we gots {0} doubloons' + .format(self.gold)) def do_drink(self, arg): 'Drown your sorrrows in rrrum.' self.gold -= 1 - print('Now we gots {0} doubloons'.format(self.gold)) + print('Now we gots {0} doubloons' + .format(self.gold)) pirate = Pirate() -pirate.cmdloop() \ No newline at end of file +pirate.cmdloop()