Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions stdlib/_typeshed/_type_checker_internals.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import sys
import typing_extensions
from _collections_abc import dict_items, dict_keys, dict_values
from _typeshed import AnnotationForm
from abc import ABCMeta
from collections.abc import Awaitable, Generator, Iterable, Mapping
from typing import Any, ClassVar, Generic, TypeVar, overload
Expand All @@ -28,6 +29,10 @@ class TypedDictFallback(Mapping[str, object], metaclass=ABCMeta):
if sys.version_info >= (3, 13):
__readonly_keys__: ClassVar[frozenset[str]]
__mutable_keys__: ClassVar[frozenset[str]]
if sys.version_info >= (3, 15):
# PEP 728
__closed__: ClassVar[bool | None]
__extra_items__: ClassVar[AnnotationForm]

def copy(self) -> typing_extensions.Self: ...
# Using Never so that only calls using mypy plugin hook that specialize the signature
Expand Down
4 changes: 4 additions & 0 deletions stdlib/typing.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,10 @@ class _TypedDict(Mapping[str, object], metaclass=ABCMeta):
if sys.version_info >= (3, 13):
__readonly_keys__: ClassVar[frozenset[str]]
__mutable_keys__: ClassVar[frozenset[str]]
if sys.version_info >= (3, 15):
# PEP 728
__closed__: ClassVar[bool | None]
__extra_items__: ClassVar[Any] # AnnotationForm

def copy(self) -> typing_extensions.Self: ...
# Using Never so that only calls using mypy plugin hook that specialize the signature
Expand Down
Loading