From fdbbee617bf471c7256ee97128f8e0df489a7d9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 2 Jun 2004 12:45:46 +0000 Subject: [PATCH] Document PyModule_AddIntConstant to take a long. Fixes #962471. --- 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 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. -- 2.47.3