mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
Fix SyntaxWarnings
Currently when running ponysay, you get this warning twice: ``` /nix/store/.../bin/ponysay/balloon.py:43: SyntaxWarning: invalid escape sequence '-' ``` It is caused by a docstring containing twice the phrase `\-directional`. The fix is just to make it a raw string (replace `'''` with `r'''`).
This commit is contained in:
parent
00b8c84d2f
commit
f2dc085425
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Balloon():
|
|||
'''
|
||||
|
||||
def __init__(self, link, linkmirror, linkcross, ww, ee, nw, nnw, n, nne, ne, nee, e, see, se, sse, s, ssw, sw, sww, w, nww):
|
||||
'''
|
||||
r'''
|
||||
Constructor
|
||||
|
||||
@param link:str The \-directional balloon line character
|
||||
|
|
Loading…
Reference in a new issue