[pypy-commit] pypy cffi-1.0: fix

arigo noreply at buildbot.pypy.org
Sun May 17 22:49:32 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-1.0
Changeset: r77370:e9ec87b4efed
Date: 2015-05-17 21:40 +0200
http://bitbucket.org/pypy/pypy/changeset/e9ec87b4efed/

Log:	fix

diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py
--- a/pypy/module/_cffi_backend/ffi_obj.py
+++ b/pypy/module/_cffi_backend/ffi_obj.py
@@ -155,7 +155,7 @@
                     m1, s12, m2, s23, m3, w_x)
 
 
-    @unwrap_spec(module_name=str, _version=int, _types=str)
+    @unwrap_spec(module_name="str_or_None", _version=int, _types="str_or_None")
     def descr_init(self, module_name=None, _version=-1, _types=None,
                    w__globals=None, w__struct_unions=None, w__enums=None,
                    w__typenames=None, w__includes=None):


More information about the pypy-commit mailing list