Skip to content

Commit 35d9981

Browse files
committed
fix imports
1 parent 484c7b6 commit 35d9981

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

mypy/exprtotype.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
ListExpr, StrExpr, BytesExpr, UnicodeExpr, EllipsisExpr, CallExpr,
66
)
77
from mypy.parsetype import parse_str_as_type, TypeParseError
8-
from mypy.types import Type, UnboundType, ArgumentList, EllipsisType, AnyType, Optional
8+
from mypy.types import Type, UnboundType, ArgumentList, EllipsisType, AnyType
9+
10+
from typing import Optional, List
911

1012

1113
class TypeTranslationError(Exception):

mypy/typeanal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Semantic analysis of types"""
22

33
from collections import OrderedDict
4-
from typing import Callable, cast, List, Optional
4+
from typing import Callable, cast, List, Optional, Set
55

66
from mypy.types import (
77
Type, UnboundType, TypeVarType, TupleType, TypedDictType, UnionType, Instance,

0 commit comments

Comments
 (0)