summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-03-20 17:08:19 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-03-20 17:08:19 (GMT)
commit16e6f4c3f0b2b5d2a89b4dae93855ff32864a22a (patch)
tree7c71e66fb6f0c81f5c4250319869337ac661d926 /Doc/c-api
parent6ae1e7f04e9817dd4a92584c608469a47eea2f56 (diff)
downloadcpython-16e6f4c3f0b2b5d2a89b4dae93855ff32864a22a.zip
cpython-16e6f4c3f0b2b5d2a89b4dae93855ff32864a22a.tar.gz
cpython-16e6f4c3f0b2b5d2a89b4dae93855ff32864a22a.tar.bz2
Fix a typo (see #3080)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/import.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst
index cf95486..b168751 100644
--- a/Doc/c-api/import.rst
+++ b/Doc/c-api/import.rst
@@ -112,7 +112,7 @@ Importing Modules
.. c:function:: PyObject* PyImport_AddModule(const char *name)
- Similar to :c:func:`PyImport_AddModuleObject`, but the name is an UTF-8
+ Similar to :c:func:`PyImport_AddModuleObject`, but the name is a UTF-8
encoded string instead of a Unicode object.
@@ -237,7 +237,7 @@ Importing Modules
.. c:function:: int PyImport_ImportFrozenModule(char *name)
- Similar to :c:func:`PyImport_ImportFrozenModuleObject`, but the name is an
+ Similar to :c:func:`PyImport_ImportFrozenModuleObject`, but the name is a
UTF-8 encoded string instead of a Unicode object.