Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00923c6 commit dcf1f83Copy full SHA for dcf1f83
1 file changed
Modules/_ctypes/callproc.c
@@ -1631,7 +1631,7 @@ addressof(PyObject *self, PyObject *obj)
1631
"invalid type");
1632
return NULL;
1633
}
1634
- if (PySys_Audit("ctypes.addressof", "O", obj) < 0) {
+ if (PySys_Audit("ctypes.addressof", "(O)", obj) < 0) {
1635
1636
1637
return PyLong_FromVoidPtr(((CDataObject *)obj)->b_ptr);
@@ -1651,7 +1651,7 @@ My_PyObj_FromPtr(PyObject *self, PyObject *args)
1651
if (!PyArg_ParseTuple(args, "O&:PyObj_FromPtr", converter, &ob)) {
1652
1653
1654
- if (PySys_Audit("ctypes.PyObj_FromPtr", "O", ob) < 0) {
+ if (PySys_Audit("ctypes.PyObj_FromPtr", "(O)", ob) < 0) {
1655
1656
1657
Py_INCREF(ob);
0 commit comments