From ae6f0492b4bea84466885c506f8e2c94558742f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Tue, 2 Apr 2013 10:27:03 +0200 Subject: [PATCH] m doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- ponysay.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ponysay.py b/ponysay.py index 98d7b6df..132ab9b6 100755 --- a/ponysay.py +++ b/ponysay.py @@ -75,9 +75,9 @@ def printinfo(text = '', end = '\n'): ''' Checks whether a text ends with a specific text, but has more -@param text The text to test -@param ending The desired end of the text -@return :bool The result of the test +@param text:str The text to test +@param ending:str The desired end of the text +@return :bool The result of the test ''' def endswith(text, ending): return text.endswith(ending) and not (text == ending)