[pypy-commit] pypy default: Fix translation: these missing wrappers take no keyword arguments.
amauryfa
pypy.commits at gmail.com
Sun Apr 2 04:09:26 EDT 2017
Author: Amaury Forgeot d'Arc <amauryfa at 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
More information about the pypy-commit
mailing list