Mailing List Archive

bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921)
https://github.com/python/cpython/commit/628abe4463ed40cd54ca952a2b4cc2d6e74073f7
commit: 628abe4463ed40cd54ca952a2b4cc2d6e74073f7
branch: main
author: Christian Heimes <christian@python.org>
committer: tiran <christian@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));

_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins