Skip to content

Commit

Permalink
Remove deprecated Ellipsis class (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra authored Jul 12, 2024
1 parent 9390c2e commit 0ca821e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pyanalyze/name_check_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3919,9 +3919,6 @@ def _visit_binop_no_mvv(

# Indexing

def visit_Ellipsis(self, node: ast.Ellipsis) -> Value:
return KnownValue(Ellipsis)

def visit_Slice(self, node: ast.Slice) -> Value:
lower = self.visit(node.lower) if node.lower is not None else None
upper = self.visit(node.upper) if node.upper is not None else None
Expand Down

0 comments on commit 0ca821e

Please sign in to comment.