summaryrefslogtreecommitdiff
path: root/Include/abstract.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-12 12:55:28 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-09-12 12:55:28 +0200
commitb1e169bf4b8c8c494181724c583f991d3dd66995 (patch)
tree7a0f414e170b894934e7c6b92c9b07d9b13032fd /Include/abstract.h
parent410b9887e14f6b15c00c10e57537297c3abe45dd (diff)
downloadcpython-git-b1e169bf4b8c8c494181724c583f991d3dd66995.tar.gz
ssue #27213: Reintroduce checks in _PyStack_AsDict()
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index a94ce660c0..87483677fd 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -275,7 +275,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
PyAPI_FUNC(PyObject *) _PyStack_AsDict(
PyObject **values,
- PyObject *kwnames);
+ Py_ssize_t nkwargs,
+ PyObject *kwnames,
+ PyObject *func);
/* Convert (args, nargs, kwargs) into a (stack, nargs, kwnames).