fix is_raw_string for multiple prefixes (#6865)

fix `is_raw_string` in the presence of other prefixes (like `rb"foo"`)

fixes #6864
This commit is contained in:
David Szotten 2023-08-25 08:58:26 +01:00 committed by GitHub
parent d1f07008f7
commit 1c66bb80b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ result_f = (
(f"{one}" f"{two}")
rf'Not-so-tricky "quote'
rf"Not-so-tricky \"quote"
# Regression test for fstrings dropping comments
result_f = (