-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug that led to a false positive error when using a single-qu…
…ote form of a format string that uses a format specifier expression. This is also a bug in the Python 3.12 interpreter that is being fixed. This addresses #6077. (#6082) Co-authored-by: Eric Traut <[email protected]>
- Loading branch information
1 parent
b7bbbd6
commit 808a348
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,3 +146,9 @@ def func1(x): | |
|
||
v2 = f'x \ | ||
y' | ||
|
||
w1 = 1 | ||
|
||
w2 = f"__{ | ||
w1:d | ||
}__" |