]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document PyModule_AddIntConstant to take a long. Fixes #962471.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 2 Jun 2004 12:45:46 +0000 (12:45 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 2 Jun 2004 12:45:46 +0000 (12:45 +0000)
Doc/api/concrete.tex

index ad36b43c12873e5f453010ad4800825a852cbb64..308c4165db3a423a221c24c0d0a60d1934ead08a 100644 (file)
@@ -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.