Skip to content

Commit d245e75

Browse files
committed
Remove unnecessary import from checkexpr
1 parent 19249f9 commit d245e75

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
from mypy.constraints import get_actual_type
3737
from mypy.checkstrformat import StringFormatterChecker
3838
from mypy.expandtype import expand_type
39-
import mypy.checkexpr
4039

4140
from mypy import experiments
4241

@@ -69,7 +68,7 @@ def __init__(self,
6968
"""Construct an expression type checker."""
7069
self.chk = chk
7170
self.msg = msg
72-
self.strfrm_checker = mypy.checkexpr.StringFormatterChecker(self, self.chk, self.msg)
71+
self.strfrm_checker = StringFormatterChecker(self, self.chk, self.msg)
7372

7473
def visit_name_expr(self, e: NameExpr) -> Type:
7574
"""Type check a name expression.

0 commit comments

Comments
 (0)