Author: Armin Rigo <[email protected]>
Branch: cffi-1.0
Changeset: r1948:9093dc33174f
Date: 2015-05-09 16:27 +0200
http://bitbucket.org/cffi/cffi/changeset/9093dc33174f/

Log:    Typo (thanks lazka)

diff --git a/_cffi1/cffi1_module.c b/_cffi1/cffi1_module.c
--- a/_cffi1/cffi1_module.c
+++ b/_cffi1/cffi1_module.c
@@ -18,9 +18,9 @@
 {
     PyObject *x;
 
-    if (!PyType_Ready(&FFI_Type) < 0)
+    if (PyType_Ready(&FFI_Type) < 0)
         return -1;
-    if (!PyType_Ready(&Lib_Type) < 0)
+    if (PyType_Ready(&Lib_Type) < 0)
         return -1;
     if (init_global_types_dict(FFI_Type.tp_dict) < 0)
         return -1;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to