Skip to content

Commit 4d3cb3e

Browse files
correct the typo in the comment of PyModule_AddObjectRef
1 parent bb5c687 commit 4d3cb3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/modsupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
2020
PyAPI_FUNC(PyObject *) Py_VaBuildValue(const char *, va_list);
2121

2222
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030a0000
23-
// Add an attribute with name 'name' and value 'obj' to the module 'mod.
23+
// Add an attribute with name 'name' and value 'value' to the module 'mod'.
2424
// On success, return 0.
2525
// On error, raise an exception and return -1.
2626
PyAPI_FUNC(int) PyModule_AddObjectRef(PyObject *mod, const char *name, PyObject *value);

0 commit comments

Comments
 (0)