diff options
Diffstat (limited to 'Doc/c-api/module.rst')
-rw-r--r-- | Doc/c-api/module.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst index 9be2a11..3a612e0 100644 --- a/Doc/c-api/module.rst +++ b/Doc/c-api/module.rst @@ -96,7 +96,7 @@ There are only a few functions special to module objects. .. cfunction:: int PyModule_AddIntMacro(PyObject *module, macro) - Add an int constant to *module*. The name and the value are taken from + Add an int constant to *module*. The name and the value are taken from *macro*. For example ``PyModule_AddConstant(module, AF_INET)`` adds the int constant *AF_INET* with the value of *AF_INET* to *module*. Return ``-1`` on error, ``0`` on success. |