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 bb5c687 commit 4d3cb3eCopy full SHA for 4d3cb3e
Include/modsupport.h
@@ -20,7 +20,7 @@ PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
20
PyAPI_FUNC(PyObject *) Py_VaBuildValue(const char *, va_list);
21
22
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030a0000
23
-// Add an attribute with name 'name' and value 'obj' to the module 'mod.
+// Add an attribute with name 'name' and value 'value' to the module 'mod'.
24
// On success, return 0.
25
// On error, raise an exception and return -1.
26
PyAPI_FUNC(int) PyModule_AddObjectRef(PyObject *mod, const char *name, PyObject *value);
0 commit comments