[pypy-svn] r73491 - pypy/branch/cpython-extension/pypy/module/cpyext

xoraxax at codespeak.net xoraxax at codespeak.net
Wed Apr 7 02:34:52 CEST 2010


Author: xoraxax
Date: Wed Apr  7 02:34:50 2010
New Revision: 73491

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py
Log:
Fix SyntaxError while translation.

Modified: pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py	Wed Apr  7 02:34:50 2010
@@ -161,7 +161,7 @@
     args_w = space.listview(w_args)[:]
     args_w.insert(0, w_self)
     w_args_new = space.newlist(args_w)
-    return space.call(space.lookup(space.w_type, space.wrap("__new__")), w_args_new, w_kwds)
+    return space.call(space.lookup(space.w_type, "__new__"), w_args_new, w_kwds)
 
 @specialize.memo()
 def get_new_method_def(space):



More information about the Pypy-commit mailing list