[Python-checkins] cpython (merge 3.2 -> default): merge 3.2
benjamin.peterson
python-checkins at python.org
Sat Apr 30 20:14:20 CEST 2011
http://hg.python.org/cpython/rev/7247d9f2fce9
changeset: 69716:7247d9f2fce9
parent: 69712:fd45c2452be3
parent: 69714:6e9aedf6ef24
user: Benjamin Peterson <benjamin at python.org>
date: Sat Apr 30 13:16:14 2011 -0500
summary:
merge 3.2
files:
Doc/c-api/module.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst
--- a/Doc/c-api/module.rst
+++ b/Doc/c-api/module.rst
@@ -221,7 +221,7 @@
.. c:function:: int PyModule_AddIntMacro(PyObject *module, macro)
Add an int constant to *module*. The name and the value are taken from
- *macro*. For example ``PyModule_AddConstant(module, AF_INET)`` adds the int
+ *macro*. For example ``PyModule_AddIntMacro(module, AF_INET)`` adds the int
constant *AF_INET* with the value of *AF_INET* to *module*.
Return ``-1`` on error, ``0`` on success.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list