Skip to content

Commit a068451

Browse files
committed
Work around mypyc bug
1 parent 24ea7eb commit a068451

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/semanal_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ def process_top_levels(graph: Graph, scc: list[str], patches: Patches) -> None:
234234

235235

236236
def method_order_by_subclassing(left: FullTargetInfo, right: FullTargetInfo) -> int:
237-
_, _, _, left_info = left
238-
_, _, _, right_info = right
237+
left_info = left[3]
238+
right_info = right[3]
239239
if left_info is None or right_info is None:
240240
return 0
241241
if left_info is right_info:

0 commit comments

Comments
 (0)