summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/module.rst
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-02-26 16:40:38 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-02-26 16:40:38 (GMT)
commit7bbd101bb18d7afb744f1cfa494187538d7c97c3 (patch)
tree2c5318a0c955363322230ffa786e6e7b153bc1f8 /Doc/c-api/module.rst
parent5ea5d2c3f7ac3a308091bbbf11ab4f473571a628 (diff)
downloadcpython-7bbd101bb18d7afb744f1cfa494187538d7c97c3.zip
cpython-7bbd101bb18d7afb744f1cfa494187538d7c97c3.tar.gz
cpython-7bbd101bb18d7afb744f1cfa494187538d7c97c3.tar.bz2
Fix several C-API doc typos caught by tomo cocoa on docs@.
The signature and description of PyException_SetCause now use "cause" rather than "ctx" to match the code.
Diffstat (limited to 'Doc/c-api/module.rst')
-rw-r--r--Doc/c-api/module.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst
index e80e0ea..bd46170 100644
--- a/Doc/c-api/module.rst
+++ b/Doc/c-api/module.rst
@@ -113,7 +113,7 @@ There are only a few functions special to module objects.
Return a pointer to the :c:type:`PyModuleDef` struct from which the module was
created, or *NULL* if the module wasn't created with
- :c:func:`PyModule_Create`.i
+ :c:func:`PyModule_Create`.
.. c:function:: PyObject* PyState_FindModule(PyModuleDef *def)