summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-06-16 01:49:54 (GMT)
committerGitHub <noreply@github.com>2017-06-16 01:49:54 (GMT)
commit0b13f58497d3a36d062c3b3b827abb05db5afbc1 (patch)
tree1c26ae3ec75c5b8bb100f74ad66a2d5b734b0b1f /Doc
parent3dc573c8d19dc42ed786ca3237afdad183c41ca0 (diff)
downloadcpython-0b13f58497d3a36d062c3b3b827abb05db5afbc1.zip
cpython-0b13f58497d3a36d062c3b3b827abb05db5afbc1.tar.gz
cpython-0b13f58497d3a36d062c3b3b827abb05db5afbc1.tar.bz2
bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2231)
`PyModule_New()` now refers to `PyModule_NewObject()` (cherry picked from commit 2d0afef82a07afdb666f2ca0c533aac5d39155cd)
Diffstat (limited to 'Doc')
-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 7724350..d3125b8 100644
--- a/Doc/c-api/module.rst
+++ b/Doc/c-api/module.rst
@@ -50,7 +50,7 @@ Module Objects
.. c:function:: PyObject* PyModule_New(const char *name)
- Similar to :c:func:`PyImport_NewObject`, but the name is a UTF-8 encoded
+ Similar to :c:func:`PyModule_NewObject`, but the name is a UTF-8 encoded
string instead of a Unicode object.