Skip to content

Commit

Permalink
Removing splitlines
Browse files Browse the repository at this point in the history
  • Loading branch information
tanvimoharir committed Aug 30, 2021
1 parent fc40194 commit b5a3a7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/black/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ def lib2to3_parse(src_txt: str, target_versions: Iterable[TargetVersion] = ()) -

except TokenError as te:
lineno, column = te.args[1]
lines = src_txt.splitlines()
exc = InvalidInput(f"Cannot parse: {lineno}:{column}: Unexpected EOF")

else:
Expand Down

0 comments on commit b5a3a7b

Please sign in to comment.