Skip to content

@override in _type_checker_internals.TypedDictFallback #14115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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: 4 additions & 1 deletion stdlib/_typeshed/_type_checker_internals.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ from _collections_abc import dict_items, dict_keys, dict_values
from abc import ABCMeta
from collections.abc import Awaitable, Generator, Iterable, Mapping
from typing import Any, ClassVar, Generic, TypeVar, overload
from typing_extensions import Never
from typing_extensions import Never, override

_T = TypeVar("_T")

Expand Down Expand Up @@ -37,8 +37,11 @@ class TypedDictFallback(Mapping[str, object], metaclass=ABCMeta):
def pop(self, k: Never, default: _T = ...) -> object: ... # pyright: ignore[reportInvalidTypeVarUse]
def update(self, m: typing_extensions.Self, /) -> None: ...
def __delitem__(self, k: Never) -> None: ...
@override
def items(self) -> dict_items[str, object]: ...
@override
def keys(self) -> dict_keys[str, object]: ...
@override
def values(self) -> dict_values[str, object]: ...
@overload
def __or__(self, value: typing_extensions.Self, /) -> typing_extensions.Self: ...
Expand Down