Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 690629712
  • Loading branch information
johndoknjas authored and copybara-github committed Oct 28, 2024
1 parent 00573d1 commit 5ca255b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pytype/annotation_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,6 @@ def get_type_parameter_subst(
for name, annot in annotations.items()
}

def get_late_annotations(self, annot):
if annot.is_late_annotation() and not annot.resolved:
yield annot
elif isinstance(annot, mixin.NestedAnnotation):
for _, typ in annot.get_inner_types():
yield from self.get_late_annotations(typ)

def add_scope(self, annot, types, cls, seen=None):
"""Add scope for type parameters.
Expand Down

0 comments on commit 5ca255b

Please sign in to comment.