diff options
author | Zackery Spytz <zspytz@gmail.com> | 2022-11-27 06:27:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 06:27:41 (GMT) |
commit | 62a5dc13e941d01beb215db4218a10977914ab55 (patch) | |
tree | 5a752de5d70fa86d772f4c6cf13c445b97fd7777 /Doc/data | |
parent | 191708c56cf45e0e1c98a0e7292ffa67b7e3b09c (diff) | |
download | cpython-62a5dc13e941d01beb215db4218a10977914ab55.zip cpython-62a5dc13e941d01beb215db4218a10977914ab55.tar.gz cpython-62a5dc13e941d01beb215db4218a10977914ab55.tar.bz2 |
bpo-43327: Fix the docs for PyImport_ImportFrozenModuleObject() (#24659)
The docs stated that PyImport_ImportFrozenModuleObject() returns a
new reference, but it actually returns an int.
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Doc/data')
-rw-r--r-- | Doc/data/refcounts.dat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat index 51ccacf..349c4dd 100644 --- a/Doc/data/refcounts.dat +++ b/Doc/data/refcounts.dat @@ -1018,10 +1018,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:: |