ruff
1dda669f - Avoid syntax error via invalid ur string prefix (#8971)

Commit
1 year ago
Avoid syntax error via invalid ur string prefix (#8971) ## Summary If a string has a Unicode prefix, we can't add the `r` prefix on top of that -- we need to remove and replace it. (The Unicode prefix is redundant anyway in Python 3.) Closes https://github.com/astral-sh/ruff/issues/8967.
Author
Parents
Loading