Skip to content

Commit

Permalink
Remove dead code branch.
Browse files Browse the repository at this point in the history
We do not support 3.8 so this is never taken
  • Loading branch information
Carreau committed May 20, 2024
1 parent 00a253c commit 2d99bee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/python/pyflyby/_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,6 @@ def _annotate_ast_startpos(
# the beginning of the line.
# In Python 3, the col_offset for the with is 0 again.
aast_node.startpos = startpos
if sys.version_info <= (3, 8):
aast_node.startpos = max(startpos, minpos)
return False

assert aast_node.col_offset == -1
Expand Down

0 comments on commit 2d99bee

Please sign in to comment.