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

Use raw string for docstring that contains a backslash #815

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

alexbozhenko
Copy link
Contributor

Python 3.12 started to complain about invalid escape sequences. https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes

One supposed to use r""" when dostrings contains backslashes """ https://stackoverflow.com/a/33734332

Python 3.12 started to complain about invalid escape sequences.
https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes

One supposed to use r""" when dostrings contains backslashes """
https://stackoverflow.com/a/33734332
@alexbozhenko alexbozhenko changed the title Use raw string for docstring that contain backslash Use raw string for docstring that contains a backslash Jan 31, 2024
@cgrindel cgrindel merged commit 1cbb70d into bazelbuild:main Feb 1, 2024
2 checks passed
@alexbozhenko
Copy link
Contributor Author

Thanks, Chuck.
Would it be possible to cut a new patch release?

@cgrindel
Copy link
Collaborator

cgrindel commented Feb 4, 2024

@alexbozhenko Unfortunately, I do not have the ability to cut a release. I pinged some folks at Google to try and cut a patch release.

@aiuto
Copy link
Collaborator

aiuto commented Feb 8, 2024

I'll include this in the 0.10.1 release.

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.

3 participants