[pypy-commit] pypy cpyext-more-slots: typo

mattip pypy.commits at gmail.com
Sun May 8 15:32:34 EDT 2016


Author: Matti Picus <matti.picus at gmail.com>
Branch: cpyext-more-slots
Changeset: r84310:03f7118df38b
Date: 2016-05-07 22:49 +0300
http://bitbucket.org/pypy/pypy/changeset/03f7118df38b/

Log:	typo

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
@@ -384,7 +384,7 @@
                           ]:
         if name == tp_name:
             slot_fn = w_type.getdictvalue(space, attr)
-            if int_fn is None:
+            if slot_fn is None:
                 return
 
             @cpython_api([PyObject], PyObject, header=header)


More information about the pypy-commit mailing list