From dd07e59eee2ba201ce0a28f2a1eafbb18f59a595 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 2 Jun 2004 12:45:27 +0000 Subject: [PATCH] Document PyModule_AddIntConstant to take a long. Fixes #962471. Will backport to 2.3. --- Doc/api/concrete.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.50.1