Skip to content

Commit 0b13f58

Browse files
authored
bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2231)
`PyModule_New()` now refers to `PyModule_NewObject()` (cherry picked from commit 2d0afef)
1 parent 3dc573c commit 0b13f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Module Objects
5050
5151
.. c:function:: PyObject* PyModule_New(const char *name)
5252
53-
Similar to :c:func:`PyImport_NewObject`, but the name is a UTF-8 encoded
53+
Similar to :c:func:`PyModule_NewObject`, but the name is a UTF-8 encoded
5454
string instead of a Unicode object.
5555
5656

0 commit comments

Comments
 (0)