Author: Armin Rigo <ar...@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):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to