ponysay icon indicating copy to clipboard operation
ponysay copied to clipboard

Fix SyntaxWarnings

Open noamraph opened this issue 1 year ago • 2 comments

Fixes https://github.com/erkin/ponysay/issues/321

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''').

noamraph avatar Nov 19 '24 22:11 noamraph

Please merge this. @erkin, maybe @JotaRandom

bniwredyc avatar Jan 21 '25 10:01 bniwredyc

@maandree ?

bniwredyc avatar Jan 21 '25 12:01 bniwredyc