Commit dd07e59e authored by Martin v. Löwis's avatar Martin v. Löwis

Document PyModule_AddIntConstant to take a long. Fixes #962471.

Will backport to 2.3.
parent 04697e89
......@@ -2263,7 +2263,7 @@ There are only a few functions special to module objects.
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyModule_AddIntConstant}{PyObject *module,
char *name, int value}
char *name, long value}
Add an integer constant to \var{module} as \var{name}. This
convenience function can be used from the module's initialization
function. Returns \code{-1} on error, \code{0} on success.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment