Skip to content

Commit

Permalink
bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran authored Dec 5, 2021
1 parent 605f4bf commit 628abe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/getpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 628abe4

Please sign in to comment.