diff options
| author | Emily Morehouse <emily@cuttlesoft.com> | 2017-06-13 11:58:18 -0600 |
|---|---|---|
| committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-13 10:58:18 -0700 |
| commit | 2d0afef82a07afdb666f2ca0c533aac5d39155cd (patch) | |
| tree | 96b52421549efc434231f80761ca4c3c0f129149 /Doc/c-api/module.rst | |
| parent | b9c3da5c89c66dcccf382e8f196746da2a06d4cc (diff) | |
| download | cpython-git-2d0afef82a07afdb666f2ca0c533aac5d39155cd.tar.gz | |
bpo-30656: Fix Python C API Module Objects documentation (GH-2170)
`PyModule_New()` now refers to `PyModule_NewObject()`
Diffstat (limited to 'Doc/c-api/module.rst')
| -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 bae03728ff..7efab28af7 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. |
