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 c10dda5 commit a1e8b3fCopy full SHA for a1e8b3f
src_c/include/base.h
@@ -15,6 +15,7 @@ pg_IntFromObj(PyObject *obj, int *val)
15
*val = (int)PyFloat_AS_DOUBLE(obj);
16
return 1;
17
}
18
+
19
20
*val = PyLong_AsLong(obj);
21
if (PyErr_Occurred()) {
0 commit comments