summaryrefslogtreecommitdiff
path: root/Objects/methodobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-12 13:30:02 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-09-12 13:30:02 +0200
commitb8d768b0199c55d408f5c8b86d14555aa7be9f98 (patch)
treed750281fae41ed4dfb784f2c142949d6c65380d1 /Objects/methodobject.c
parent2f462a68f9f3feccf4c4b13bd8743501fc0fd77e (diff)
downloadcpython-git-b8d768b0199c55d408f5c8b86d14555aa7be9f98.tar.gz
Revert change f860b7a775c5
Revert change "Issue #27213: Reintroduce checks in _PyStack_AsDict()", pushed by mistake.
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r--Objects/methodobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index 487ccd7a30..90c473ee97 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -279,7 +279,7 @@ _PyCFunction_FastCallKeywords(PyObject *func, PyObject **stack,
nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames);
if (nkwargs > 0) {
- kwdict = _PyStack_AsDict(stack + nargs, nkwargs, kwnames, func);
+ kwdict = _PyStack_AsDict(stack + nargs, kwnames);
if (kwdict == NULL) {
return NULL;
}