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

Bugfix: SyntaxWarning: invalid escape sequence '\-' #316

Closed
wants to merge 1 commit into from

Conversation

mdayaram
Copy link

I get the following error when running the latest ponysay on Python 3.12:

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

I believe the changes I made fix the issue, and the error is no longer present. However, I had trouble running ponysay directly from source, so I could only verify this by replicating the issue with a simple program and then issuing this fix.

@matthias4217
Copy link

This would fix #314. It has also been implemented in #313, although the latter also address other issues.

@mdayaram
Copy link
Author

mdayaram commented Feb 1, 2024

Ah, perfect! Glad to hear it's already in the works. Sorry for not double checking that myself. Will go ahead and close this then.

@mdayaram mdayaram closed this Feb 1, 2024
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.

2 participants