[pypy-commit] pypy default: fix

rlamy pypy.commits at gmail.com
Mon Jan 30 11:09:51 EST 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: 
Changeset: r89838:c173189d53b2
Date: 2017-01-30 16:09 +0000
http://bitbucket.org/pypy/pypy/changeset/c173189d53b2/

Log:	fix

diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -682,7 +682,7 @@
 
 
 class CpyextTypeSpace(CTypeSpace):
-    def decl(self, cdef):
+    def decl(self, cdef, error=_NOT_SPECIFIED, header=DEFAULT_HEADER):
         def decorate(func):
             return api_func_from_cdef(
                     func, cdef, self, error=error, header=header)


More information about the pypy-commit mailing list