Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Nov 29, 2021
1 parent 9aa1af4 commit 62f8013
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/black/trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ def iter_fexpr_spans(s: str) -> Iterator[Tuple[int, int]]:
continue

# if we're in an expression part of the f-string, fast forward through strings
# note that backslashes are not legal in the expression portion of f-strings
if stack:
delim = None
if s[i : i + 3] in ("'''", '"""'):
Expand Down

0 comments on commit 62f8013

Please sign in to comment.