From: Martin v. Löwis Date: Wed, 2 Jun 2004 12:45:46 +0000 (+0000) Subject: Document PyModule_AddIntConstant to take a long. Fixes #962471. X-Git-Tag: v2.3.5c1~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdbbee617bf471c7256ee97128f8e0df489a7d9b;p=thirdparty%2FPython%2Fcpython.git Document PyModule_AddIntConstant to take a long. Fixes #962471. --- diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index ad36b43c1287..308c4165db3a 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -2235,7 +2235,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.