summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-27 06:35:36 (GMT)
committerGitHub <noreply@github.com>2022-11-27 06:35:36 (GMT)
commit43234396ee905b18fbe1b87a64df64aff9924b40 (patch)
tree166dc2afb323ee596bdb6790bf7fff21acb739b6
parent3d82b7ed8daa9c30c54257042bbef30f9b195d52 (diff)
downloadcpython-43234396ee905b18fbe1b87a64df64aff9924b40.zip
cpython-43234396ee905b18fbe1b87a64df64aff9924b40.tar.gz
cpython-43234396ee905b18fbe1b87a64df64aff9924b40.tar.bz2
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 62a5dc13e941d01beb215db4218a10977914ab55) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
-rw-r--r--Doc/data/refcounts.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index 89b64e6..cab22ab 100644
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -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::