mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-28 23:17:59 +01:00
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
b3f7622bc8
commit
ae6f0492b4
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue