bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (G… · python/cpython@0b13f58 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 0b13f58
`PyModule_New()` now refers to `PyModule_NewObject()` (cherry picked from commit 2d0afef)
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -50,7 +50,7 @@ Module Objects | ||
50 | 50 | |
51 | 51 | .. c:function:: PyObject* PyModule_New(const char *name) |
52 | 52 | |
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 | |
54 | 54 | string instead of a Unicode object. |
55 | 55 | |
56 | 56 |