From 5ff733fddac0d682a25acf8bd3f6de4339d6c9f7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 18 Aug 2012 17:42:36 +0200 Subject: doc --- ponysay.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ponysay.py') diff --git a/ponysay.py b/ponysay.py index 92f1fac..adc1264 100755 --- a/ponysay.py +++ b/ponysay.py @@ -93,6 +93,10 @@ class ponysay(): else: self.print_pony(args) + ## + ## Auxiliary methods + ## + ''' Returns one .pony-file with full path, names is filter for names, also accepts filepaths ''' @@ -165,6 +169,10 @@ class ponysay(): return rc + ## + ## Listing methods + ## + ''' Lists the available ponies ''' @@ -296,6 +304,13 @@ class ponysay(): print(pony) + ## + ## Displaying methods + ## + + ''' + Print the pony with a speech or though bubble + ''' def print_pony(self, args): if args.message == None: msg = sys.stdin.read().strip() -- cgit