diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-16 01:49:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 01:49:43 (GMT) |
commit | 6a90a124706b73824aebf5c2bd7b27daf82b2342 (patch) | |
tree | 8b8edb2f47e9ad017f29686a912e883ef8fd7470 /Doc/c-api | |
parent | 50dbf577e10f806056d60ac956db0748d2cc8257 (diff) | |
download | cpython-6a90a124706b73824aebf5c2bd7b27daf82b2342.zip cpython-6a90a124706b73824aebf5c2bd7b27daf82b2342.tar.gz cpython-6a90a124706b73824aebf5c2bd7b27daf82b2342.tar.bz2 |
bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2230)
`PyModule_New()` now refers to `PyModule_NewObject()`
(cherry picked from commit 2d0afef82a07afdb666f2ca0c533aac5d39155cd)
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | 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 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. |