]> granicus.if.org Git - python/commitdiff
Document PyModule_AddIntConstant to take a long. Fixes #962471.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 2 Jun 2004 12:45:27 +0000 (12:45 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 2 Jun 2004 12:45:27 +0000 (12:45 +0000)
Will backport to 2.3.

Doc/api/concrete.tex

index 62084bd699922e2ccf92af02cdd9774d48a12a53..eaa2d59e3bbbc8755af42f62f846efd6f6a5b339 100644 (file)
@@ -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.