Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: 
Changeset: r90912:a01f47870f2b
Date: 2017-04-02 10:08 +0200
http://bitbucket.org/pypy/pypy/changeset/a01f47870f2b/

Log:    Fix translation: these missing wrappers take no keyword arguments.

diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py
--- a/pypy/module/cpyext/slotdefs.py
+++ b/pypy/module/cpyext/slotdefs.py
@@ -795,7 +795,7 @@
 missing_wrappers = ['wrap_indexargfunc', 'wrap_delslice', 'wrap_coercefunc']
 for name in missing_wrappers:
     assert name not in globals()
-    def missing_wrapper(space, w_self, w_args, func, w_kwds):
+    def missing_wrapper(space, w_self, w_args, func):
         print "cpyext: missing slot wrapper " + name
         raise NotImplementedError("Slot wrapper " + name)
     missing_wrapper.__name__ = name
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to