Skip to content

Commit 10e36e4

Browse files
Fix _CType_Type
Co-authored-by: neonene <[email protected]>
1 parent 3754d3d commit 10e36e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ctypes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class c_bool(_SimpleCData):
266266

267267
from _ctypes import POINTER, pointer, _pointer_type_cache
268268

269-
CType_Type = _Pointer.__base__
269+
_CType_Type = type(_Pointer).__base__
270270

271271
def POINTER(cls):
272272
if cls is None:

0 commit comments

Comments
 (0)