summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-02 12:45:27 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-06-02 12:45:27 (GMT)
commitdd07e59eee2ba201ce0a28f2a1eafbb18f59a595 (patch)
treea004cf0361d637ac9075db24a72fc6235dccbaa1 /Doc/api
parent04697e89b910abc59b1f0f85971c6839406b56f2 (diff)
downloadcpython-dd07e59eee2ba201ce0a28f2a1eafbb18f59a595.zip
cpython-dd07e59eee2ba201ce0a28f2a1eafbb18f59a595.tar.gz
cpython-dd07e59eee2ba201ce0a28f2a1eafbb18f59a595.tar.bz2
Document PyModule_AddIntConstant to take a long. Fixes #962471.
Will backport to 2.3.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/concrete.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex
index 62084bd..eaa2d59 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.