move some non-pointer-related definitions from ctypes/__init__.pyi to _ctypes.pyi (#10130)

- `ArgumentError`
- `addressof`
- `alignment`
- `get_errno`
- `resize`
- `set_errno`
- `sizeof`
This commit is contained in:
Jun Komoda
2023-05-03 00:54:42 +09:00
committed by GitHub
parent 1caac913ea
commit ce531f897f
3 changed files with 16 additions and 14 deletions

View File

@@ -339,17 +339,11 @@ _ctypes.POINTER
_ctypes.PyObj_FromPtr
_ctypes.Py_DECREF
_ctypes.Py_INCREF
_ctypes.addressof
_ctypes.alignment
_ctypes.buffer_info
_ctypes.byref
_ctypes.call_cdeclfunction
_ctypes.call_function
_ctypes.get_errno
_ctypes.pointer
_ctypes.resize
_ctypes.set_errno
_ctypes.sizeof
# ==========
# Allowlist entries that cannot or should not be fixed