From 0b13f58497d3a36d062c3b3b827abb05db5afbc1 Mon Sep 17 00:00:00 2001 From: Mariatta Date: Thu, 15 Jun 2017 18:49:54 -0700 Subject: [PATCH] bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2231) `PyModule_New()` now refers to `PyModule_NewObject()` (cherry picked from commit 2d0afef82a07afdb666f2ca0c533aac5d39155cd) --- Doc/c-api/module.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst index 7724350d3c..d3125b86f0 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. -- 2.40.0