summaryrefslogtreecommitdiff
path: root/Include/internal/pycore_code.h
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-02-26 22:05:03 +0530
committerGitHub <noreply@github.com>2022-02-26 08:35:03 -0800
commit0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b (patch)
tree240f3538d78b4f390b97fc1e0a2c1e17102f0d49 /Include/internal/pycore_code.h
parentedbee56d698ebb4489aa68311f44d104a23f5eb7 (diff)
downloadcpython-git-0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b.tar.gz
Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596)
Diffstat (limited to 'Include/internal/pycore_code.h')
-rw-r--r--Include/internal/pycore_code.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h
index d83df5e300..0c4850f98a 100644
--- a/Include/internal/pycore_code.h
+++ b/Include/internal/pycore_code.h
@@ -317,7 +317,7 @@ extern void _Py_Specialize_UnpackSequence(PyObject *seq, _Py_CODEUNIT *instr,
/* Deallocator function for static codeobjects used in deepfreeze.py */
extern void _PyStaticCode_Dealloc(PyCodeObject *co);
/* Function to intern strings of codeobjects */
-extern void _PyStaticCode_InternStrings(PyCodeObject *co);
+extern int _PyStaticCode_InternStrings(PyCodeObject *co);
#ifdef Py_STATS