Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Python 3.12 SyntaxWarning: invalid escape sequence docstrings? #314

Open
maclermo opened this issue Dec 1, 2023 · 2 comments

Comments

@maclermo
Copy link

maclermo commented Dec 1, 2023

Running on macOS 14, installed using brew and with python3.12:

bash❯ ponysay -v
/usr/local/bin/ponysay/balloon.py:43: SyntaxWarning: invalid escape sequence '\-'
/usr/local/bin/ponysay/balloon.py:43: SyntaxWarning: invalid escape sequence '\-'
ponysay 3.0.3

Program works otherwise. Looks to be in the docstring.

Please follow PEP 257, docstrings should be in triple double-quotes (you are using triple single-quotes).

@Tonyl314
Copy link

Tonyl314 commented Dec 1, 2023

The warning is fixed in #313.

@maclermo
Copy link
Author

maclermo commented Dec 2, 2023

See my comment in #313.

fpekal added a commit to fpekal/bazy2-projekt that referenced this issue Nov 7, 2024
Dodano funkcję do wyświetlania kucyków używając ponysay

Oryginalny ponysay wyświetlał błąd opisany w
erkin/ponysay#314
Więc ponysay brany jest z
https://github.com/Tonyl314/ponysay
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

No branches or pull requests

2 participants