mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-43327: Fix the docs for PyImport_ImportFrozenModuleObject() (GH-24659)
The docs stated that PyImport_ImportFrozenModuleObject() returns a
new reference, but it actually returns an int.
(cherry picked from commit 62a5dc13e9
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
parent
193a25e89c
commit
4ce1a827db
1 changed files with 2 additions and 2 deletions
|
@ -1010,10 +1010,10 @@ PyImport_Import:PyObject*::+1:
|
|||
PyImport_Import:PyObject*:name:0:
|
||||
|
||||
PyImport_ImportFrozenModule:int:::
|
||||
PyImport_ImportFrozenModule:const char*:::
|
||||
PyImport_ImportFrozenModule:const char*:name::
|
||||
|
||||
PyImport_ImportFrozenModuleObject:int:::
|
||||
PyImport_ImportFrozenModuleObject:PyObject*::+1:
|
||||
PyImport_ImportFrozenModuleObject:PyObject*:name:+1:
|
||||
|
||||
PyImport_ImportModule:PyObject*::+1:
|
||||
PyImport_ImportModule:const char*:name::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue