Skip to content

Commit dd35699

Browse files
committed
Fix deprecated call to InputAnnotationAnnotation
1 parent e105410 commit dd35699

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyannotating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __get_formatted_annotations_from(self, annotations: Iterable, replacement_an
112112
formatted_annotations = list()
113113

114114
for annotation in annotations:
115-
if isinstance(annotation, InputAnnotationAnnotation):
115+
if isinstance(annotation, _InputAnnotationAnnotation):
116116
annotation = replacement_annotation
117117

118118
elif isinstance(annotation, list):

0 commit comments

Comments
 (0)