Skip to content

Conversation

@noamraph
Copy link

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

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'''`).
@bniwredyc
Copy link

Please merge this. @erkin, maybe @JotaRandom

@bniwredyc
Copy link

@maandree ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/usr/sbin/ponysay/balloon.py:43: SyntaxWarning: invalid escape sequence '\-'

2 participants