[Python-checkins] bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921)

tiran webhook-mailer at python.org
Sun Dec 5 12:41:55 EST 2021


https://github.com/python/cpython/commit/628abe4463ed40cd54ca952a2b4cc2d6e74073f7
commit: 628abe4463ed40cd54ca952a2b4cc2d6e74073f7
branch: main
author: Christian Heimes <christian at python.org>
committer: tiran <christian at python.org>
date: 2021-12-05T18:41:46+01:00
summary:

bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921)

files:
M Modules/getpath.c

diff --git a/Modules/getpath.c b/Modules/getpath.c
index c8c85a8540d39..f77b18eee95b6 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -783,7 +783,7 @@ library_to_dict(PyObject *dict, const char *key)
 
 
 PyObject *
-_Py_Get_Getpath_CodeObject()
+_Py_Get_Getpath_CodeObject(void)
 {
     return PyMarshal_ReadObjectFromString(
         (const char*)_Py_M__getpath, sizeof(_Py_M__getpath));



More information about the Python-checkins mailing list