[pypy-svn] pypy improve-unwrap_spec: Fix a typo and failures in test_descroperation.pt

amauryfa commits-noreply at bitbucket.org
Thu Feb 17 20:07:51 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: improve-unwrap_spec
Changeset: r42116:2d9dc38c523d
Date: 2011-02-17 14:40 +0100
http://bitbucket.org/pypy/pypy/changeset/2d9dc38c523d/

Log:	Fix a typo and failures in test_descroperation.pt

diff --git a/pypy/module/__builtin__/interp_classobj.py b/pypy/module/__builtin__/interp_classobj.py
--- a/pypy/module/__builtin__/interp_classobj.py
+++ b/pypy/module/__builtin__/interp_classobj.py
@@ -749,7 +749,7 @@
     meth = new.instancemethod(func, None, W_InstanceObject)
     rawdict[specialname] = interp2app(meth)
     rmeth = new.instancemethod(rfunc, None, W_InstanceObject)
-    rawdict[rspecialname] = interp2app(meth)
+    rawdict[rspecialname] = interp2app(rmeth)
 
 
 def descr_del_dict(space, w_inst):


More information about the Pypy-commit mailing list