Skip to content

Conversation

wyattscarpenter
Copy link

@wyattscarpenter wyattscarpenter commented Aug 24, 2025

Re-opening per the instructions in #50243 (comment)

What changes were proposed in this pull request?

Remove an invalid escape sequence "_" using a raw string instead.

Why are the changes needed?

There is an invalid escape sequence in the code, which is silenced using a noqa comment. Recent python versions warn when parsing such a string, noqa comment or no. (I believe I may have seen this warning when mypy, a python typechecker, visited the code, or something like that.) Using a raw string removes the warning without changing the value of the string in this case. This change also allows us to remove a noqa comment.

Does this PR introduce any user-facing change?

No, except a python warning is silenced.

How was this patch tested?

Manual inspection.

Was this patch authored or co-authored using generative AI tooling?

No.

@HyukjinKwon
Copy link
Member

Mind filling up the PR description please?

@wyattscarpenter
Copy link
Author

Ok

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

Successfully merging this pull request may close these issues.

2 participants