Skip to content

Commit

Permalink
Update src/black/trans.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
hauntsaninja and JelleZijlstra committed Nov 29, 2021
1 parent 62f8013 commit d3f6b60
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 @@ -986,7 +986,7 @@ def iter_fexpr_spans(s: str) -> Iterator[Tuple[int, int]]:


def fstring_contains_expr(s: str) -> bool:
return any(True for _ in iter_fexpr_spans(s))
return any(iter_fexpr_spans(s))


class StringSplitter(BaseStringSplitter, CustomSplitMapMixin):
Expand Down

0 comments on commit d3f6b60

Please sign in to comment.