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
3 changes: 3 additions & 0 deletions stdlib/_ctypes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import sys
from ctypes import _CArgObject, _PointerLike
from typing_extensions import TypeAlias

if sys.version_info >= (3, 11):
CTYPES_MAX_ARGCOUNT: int

if sys.platform == "win32":
# Description, Source, HelpFile, HelpContext, scode
_COMError_Details: TypeAlias = tuple[str | None, str | None, str | None, int | None, int | None]
Expand Down
1 change: 0 additions & 1 deletion tests/stubtest_allowlists/py311.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ _collections_abc.MappingView.__class_getitem__
_collections_abc.ValuesView.__reversed__
_csv.Reader
_csv.Writer
_ctypes.CTYPES_MAX_ARGCOUNT
_operator.attrgetter.__vectorcalloffset__
_operator.itemgetter.__vectorcalloffset__
argparse._MutuallyExclusiveGroup.add_mutually_exclusive_group
Expand Down