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
1 change: 1 addition & 0 deletions stdlib/_typeshed/_type_checker_internals.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class TypedDictFallback(Mapping[str, object], metaclass=ABCMeta):
class NamedTupleFallback(tuple[Any, ...]):
_field_defaults: ClassVar[dict[str, Any]]
_fields: ClassVar[tuple[str, ...]]
__match_args__: ClassVar[tuple[str, ...]] = ...
# __orig_bases__ sometimes exists on <3.12, but not consistently
# So we only add it to the stub on 3.12+.
if sys.version_info >= (3, 12):
Expand Down
1 change: 1 addition & 0 deletions stdlib/typing.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,7 @@ if sys.version_info >= (3, 11):
class NamedTuple(tuple[Any, ...]):
_field_defaults: ClassVar[dict[str, Any]]
_fields: ClassVar[tuple[str, ...]]
__match_args__: ClassVar[tuple[str, ...]] = ...
# __orig_bases__ sometimes exists on <3.12, but not consistently
# So we only add it to the stub on 3.12+.
if sys.version_info >= (3, 12):
Expand Down
Loading