[pypy-commit] pypy cpyext-gc-support-2: fix imports

arigo pypy.commits at gmail.com
Tue Jan 26 19:20:00 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: cpyext-gc-support-2
Changeset: r81967:fcc70c53434c
Date: 2016-01-27 01:19 +0100
http://bitbucket.org/pypy/pypy/changeset/fcc70c53434c/

Log:	fix imports

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
@@ -290,9 +290,8 @@
 
             @specialize.ll()
             def unwrapper(space, *args):
-                from pypy.module.cpyext.pyobject import Py_DecRef
+                from pypy.module.cpyext.pyobject import Py_DecRef, is_pyobj
                 from pypy.module.cpyext.pyobject import make_ref, from_ref
-                from pypy.module.cpyext.pyobject import Reference
                 newargs = ()
                 keepalives = ()
                 assert len(args) == len(api_function.argtypes)


More information about the pypy-commit mailing list