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

Fix anomalous backslashes in strings #39

Closed
wants to merge 1 commit into from

Conversation

pkolbus
Copy link
Contributor

@pkolbus pkolbus commented Jun 29, 2019

Python 3.8 emits a SyntaxWarning for a string with an anomalous backslash, e.g.:

:127: SyntaxWarning: invalid escape sequence \s

Fix by adding the missing 'r' prefix.

Python 3.8 emits a SyntaxWarning for a string with an anomalous
backslash, e.g.:

  <unknown>:127: SyntaxWarning: invalid escape sequence \s

Fix by adding the missing 'r' prefix.

Change-Id: If9ad77c1e1707fa2432c8fc31eeb5e6d2d7200a5
Signed-off-by: Peter Kolbus <peter.kolbus@garmin.com>
@pombredanne
Copy link
Member

@pkolbus Sorry for seeing this only now!

@pombredanne
Copy link
Member

Thank you ++ Merging this!

@pombredanne
Copy link
Member

I cherry picked your commit in #46
Thank you again!

pombredanne pushed a commit that referenced this pull request May 10, 2022
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