Skip to content

Commit fed419b

Browse files
authored
Add CTYPES_MAX_ARGCOUNT to _ctypes (#8601)
1 parent 2066b95 commit fed419b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

stdlib/_ctypes.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import sys
22
from ctypes import _CArgObject, _PointerLike
33
from typing_extensions import TypeAlias
44

5+
if sys.version_info >= (3, 11):
6+
CTYPES_MAX_ARGCOUNT: int
7+
58
if sys.platform == "win32":
69
# Description, Source, HelpFile, HelpContext, scode
710
_COMError_Details: TypeAlias = tuple[str | None, str | None, str | None, int | None, int | None]

tests/stubtest_allowlists/py311.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ _collections_abc.MappingView.__class_getitem__
1212
_collections_abc.ValuesView.__reversed__
1313
_csv.Reader
1414
_csv.Writer
15-
_ctypes.CTYPES_MAX_ARGCOUNT
1615
_operator.attrgetter.__vectorcalloffset__
1716
_operator.itemgetter.__vectorcalloffset__
1817
argparse._MutuallyExclusiveGroup.add_mutually_exclusive_group

0 commit comments

Comments
 (0)