mirror of
https://github.com/python/cpython.git
synced 2025-10-02 05:12:23 +00:00
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:
parent
50dbf577e1
commit
6a90a12470
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue