From 0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b Mon Sep 17 00:00:00 2001 From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Sat, 26 Feb 2022 22:05:03 +0530 Subject: Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596) --- Include/internal/pycore_code.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/internal/pycore_code.h') 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 -- cgit v1.2.1