mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
bpo-30656: Fix Python C API Module Objects documentation (GH-2170)
`PyModule_New()` now refers to `PyModule_NewObject()`
This commit is contained in:
committed by
Mariatta
parent
b9c3da5c89
commit
2d0afef82a
@@ -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.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user