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

`PyModule_New()` now refers to `PyModule_NewObject()`
This commit is contained in:
Emily Morehouse 2017-06-13 11:58:18 -06:00 committed by Mariatta
parent b9c3da5c89
commit 2d0afef82a

View file

@ -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.