Skip to content

Commit 712afc5

Browse files
authored
Adjust stubtest test stubs for PEP 728 (Python 3.15) (#20009)
Add stubs for [PEP 728](https://peps.python.org/pep-0728/).
1 parent eec826e commit 712afc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypy/test/teststubtest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ class _TypedDict(Mapping[str, object]):
8888
__total__: ClassVar[bool]
8989
__readonly_keys__: ClassVar[frozenset[str]]
9090
__mutable_keys__: ClassVar[frozenset[str]]
91+
__closed__: ClassVar[bool | None]
92+
__extra_items__: ClassVar[Any]
9193
def overload(func: _T) -> _T: ...
9294
def type_check_only(func: _T) -> _T: ...
9395
def final(func: _T) -> _T: ...

0 commit comments

Comments
 (0)