Fix crash auto-completing bpy.types in the Python console
Reference counting error in dc61a63e3f
This commit is contained in:
parent
623ddc4aa6
commit
78c3caf3c1
Notes:
blender-bot
2023-02-14 10:29:32 +01:00
Referenced by issue #85872, PyAPI issues after recent changes to add compatibility with Python 3.10
|
@ -7729,7 +7729,7 @@ static PyObject *bpy_types_module_dir(PyObject *self)
|
|||
PyObject *key, *value;
|
||||
Py_ssize_t pos = 0;
|
||||
while (PyDict_Next(submodule_dict, &pos, &key, &value)) {
|
||||
PyList_APPEND(ret, key);
|
||||
PyList_Append(ret, key);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue