From: Martin v. Löwis Date: Wed, 2 Jun 2004 12:45:27 +0000 (+0000) Subject: Document PyModule_AddIntConstant to take a long. Fixes #962471. X-Git-Tag: v2.4a1~313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd07e59eee2ba201ce0a28f2a1eafbb18f59a595;p=python Document PyModule_AddIntConstant to take a long. Fixes #962471. Will backport to 2.3. --- diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 62084bd699..eaa2d59e3b 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -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.