bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2230)

`PyModule_New()` now refers to `PyModule_NewObject()`
(cherry picked from commit 2d0afef82a)
This commit is contained in:
Mariatta 2017-06-15 18:49:43 -07:00 committed by GitHub
parent 50dbf577e1
commit 6a90a12470

View file

@ -50,7 +50,7 @@ Module Objects
.. c:function:: PyObject* PyModule_New(const char *name) .. 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. string instead of a Unicode object.