Skip to content

Commit 49027d4

Browse files
committed
fixup
1 parent 48b7542 commit 49027d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
from mypy.errorcodes import TYPE_VAR, UNUSED_AWAITABLE, UNUSED_COROUTINE, ErrorCode
4242
from mypy.errors import Errors, ErrorWatcher, report_internal_error
4343
from mypy.expandtype import expand_self_type, expand_type, expand_type_by_instance
44-
from mypy.join import join_types
4544
from mypy.literals import Key, extract_var_from_literal_hash, literal, literal_hash
4645
from mypy.maptype import map_instance_to_supertype
4746
from mypy.meet import is_overlapping_erased_types, is_overlapping_types
@@ -4666,6 +4665,7 @@ def analyze_iterable_item_type_without_expression(
46664665
) -> tuple[Type, Type]:
46674666
"""Analyse iterable type and return iterator and iterator item types."""
46684667
echk = self.expr_checker
4668+
iterable: Type
46694669
iterable = get_proper_type(type)
46704670
iterator = echk.check_method_call_by_name("__iter__", iterable, [], [], context)[0]
46714671

0 commit comments

Comments
 (0)