Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Modules/_ctypes/_ctypes.c
Co-authored-by: Victor Stinner <[email protected]>
  • Loading branch information
VanshAgarwal24036 and vstinner authored Jan 23, 2026
commit 5587067ab4944f972700c3bd72e48f9a0f99e42b
2 changes: 1 addition & 1 deletion Modules/_ctypes/_ctypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ PyCPointerType_from_param_impl(PyObject *type, PyTypeObject *cls,
/* If we expect POINTER(<type>), but receive a <type> instance, accept
it by calling byref(<type>).
*/
if(typeinfo->proto == NULL){
if (typeinfo->proto == NULL) {
PyErr_SetString(
PyExc_TypeError,
"cannot convert argument: POINTER _type_ type is not set"
Expand Down
Loading