mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
11 lines
524 B
Diff
11 lines
524 B
Diff
--- a/qrenderdoc/Code/pyrenderdoc/renderdoc.i
|
|
+++ b/qrenderdoc/Code/pyrenderdoc/renderdoc.i
|
|
@@ -469,7 +469,7 @@
|
|
// for basic types, return the repr directly
|
|
if(obj == (PyObject *)&_Py_TrueStruct ||
|
|
obj == (PyObject *)&_Py_FalseStruct ||
|
|
- PyObject_IsInstance(obj, (PyObject*)&_PyNone_Type) ||
|
|
+ obj == (PyObject *)Py_None ||
|
|
PyObject_IsInstance(obj, (PyObject*)&PyFloat_Type) ||
|
|
PyObject_IsInstance(obj, (PyObject*)&PyLong_Type) ||
|
|
PyObject_IsInstance(obj, (PyObject*)&PyBytes_Type) ||
|