Skip to content

Commit

Permalink
remove backslash code
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Nov 29, 2021
1 parent 71df758 commit 8694740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/black/trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ def iter_fexpr_spans(s: str) -> Iterator[Tuple[int, int]]:
if delim:
i += len(delim)
while i < len(s) and s[i:i + len(delim)] != delim:
i += 2 if s[i] == "\\" else 1
i += 1
i += 1


Expand Down

0 comments on commit 8694740

Please sign in to comment.