Skip to content

Commit bd3a7af

Browse files
committed
fixes with sys.version_info >= (3, 14)
1 parent ca3ee34 commit bd3a7af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/ctypes/__init__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ if sys.version_info >= (3, 14):
5555
else:
5656
from _ctypes import POINTER as POINTER, pointer as pointer
5757

58+
if sys.version_info >= (3, 14):
59+
CField = _CField
60+
5861
DEFAULT_MODE: Final[int]
5962

6063
class ArgumentError(Exception): ...

0 commit comments

Comments
 (0)