From 5ca255b9976d394aec9edab663c3ff974d95a790 Mon Sep 17 00:00:00 2001 From: John Doknjas <32089502+johndoknjas@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:56:33 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 690629712 --- pytype/annotation_utils.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pytype/annotation_utils.py b/pytype/annotation_utils.py index cb9ed98c7..298eca77f 100644 --- a/pytype/annotation_utils.py +++ b/pytype/annotation_utils.py @@ -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.