[pypy-commit] pypy py3k: 2to3

mjacob noreply at buildbot.pypy.org
Thu Nov 19 08:11:08 EST 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3k
Changeset: r80771:2656e0ec2579
Date: 2015-11-19 13:29 +0100
http://bitbucket.org/pypy/pypy/changeset/2656e0ec2579/

Log:	2to3

diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py
--- a/pypy/module/cpyext/test/test_typeobject.py
+++ b/pypy/module/cpyext/test/test_typeobject.py
@@ -606,7 +606,7 @@
             static PyObject * 
             foo_nb_add_call(PyObject *self, PyObject *other)
             {
-                return PyInt_FromLong(42); 
+                return PyLong_FromLong(42); 
             }
 
             PyTypeObject Foo_Type = {


More information about the pypy-commit mailing list