Skip to content

Commit

Permalink
bpo-37337: Fix a GCC 9 warning in Objects/descrobject.c (pythonGH-14814)
Browse files Browse the repository at this point in the history
Commit b1263d5 causes GCC 9.1.0 to
give a warning in Objects/descrobject.c.
  • Loading branch information
ZackerySpytz authored and methane committed Aug 14, 2019
1 parent c03e698 commit 43d564c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/descrobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ mappingproxy_copy(mappingproxyobject *pp, PyObject *Py_UNUSED(ignored))
to the underlying mapping */

static PyMethodDef mappingproxy_methods[] = {
{"get", (PyCFunction)mappingproxy_get, METH_FASTCALL,
{"get", (PyCFunction)(void(*)(void))mappingproxy_get, METH_FASTCALL,
PyDoc_STR("D.get(k[,d]) -> D[k] if k in D, else d."
" d defaults to None.")},
{"keys", (PyCFunction)mappingproxy_keys, METH_NOARGS,
Expand Down

0 comments on commit 43d564c

Please sign in to comment.