Skip to content

Commit 88e27d5

Browse files
authored
Update annotationlib.py
lint fix
1 parent 5e3ea17 commit 88e27d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/annotationlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def __convert_to_ast(self, other):
371371
elif type(other) in (list, tuple, set):
372372
extra_names = {}
373373
elts = []
374-
374+
375375
# For sets, we need to ensure consistent ordering
376376
if type(other) is set:
377377
# For sets of types, sort by __name__
@@ -397,7 +397,7 @@ def __convert_to_ast(self, other):
397397
if new_extra_names is not None:
398398
extra_names.update(new_extra_names)
399399
elts.append(new_elt)
400-
400+
401401
ast_class = {list: ast.List, tuple: ast.Tuple, set: ast.Set}[type(other)]
402402
return ast_class(elts), extra_names
403403
else:

0 commit comments

Comments
 (0)