summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmily Morehouse <emily@cuttlesoft.com>2017-06-13 17:58:18 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-06-13 17:58:18 (GMT)
commit2d0afef82a07afdb666f2ca0c533aac5d39155cd (patch)
tree96b52421549efc434231f80761ca4c3c0f129149
parentb9c3da5c89c66dcccf382e8f196746da2a06d4cc (diff)
downloadcpython-2d0afef82a07afdb666f2ca0c533aac5d39155cd.zip
cpython-2d0afef82a07afdb666f2ca0c533aac5d39155cd.tar.gz
cpython-2d0afef82a07afdb666f2ca0c533aac5d39155cd.tar.bz2
bpo-30656: Fix Python C API Module Objects documentation (GH-2170)
`PyModule_New()` now refers to `PyModule_NewObject()`
-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 bae0372..7efab28 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.