Skip to content

Commit 1685958

Browse files
Update Modules/_ctypes/_ctypes.c
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent bda7921 commit 1685958

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_ctypes/_ctypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ PyCPointerType_from_param_impl(PyObject *type, PyTypeObject *cls,
14221422
if(typeinfo->proto == NULL){
14231423
PyErr_SetString(
14241424
PyExc_TypeError,
1425-
"cannot convert argument: POINTER target type is unresolved"
1425+
"cannot convert argument: POINTER _type_ type is not set"
14261426
);
14271427
return NULL;
14281428
}

0 commit comments

Comments
 (0)