Skip to content

Commit 451ae0e

Browse files
authored
[mypyc] fix for typeshed changes to Collection (#13994)
1 parent 77a92b5 commit 451ae0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypyc/irbuild/classdef.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ def populate_non_ext_bases(builder: IRBuilder, cdef: ClassDef) -> Value:
451451
"typing.Collection",
452452
"typing.Reversible",
453453
"typing.Container",
454+
"typing.Sized",
454455
):
455456
# HAX: Synthesized base classes added by mypy don't exist at runtime, so skip them.
456457
# This could break if they were added explicitly, though...

0 commit comments

Comments
 (0)