[pypy-svn] pypy default: Fix the failing test.

arigo commits-noreply at bitbucket.org
Sat Jan 29 19:35:05 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r41456:4fd01c05f226
Date: 2011-01-29 19:34 +0100
http://bitbucket.org/pypy/pypy/changeset/4fd01c05f226/

Log:	Fix the failing test.

diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py
--- a/pypy/objspace/std/dictmultiobject.py
+++ b/pypy/objspace/std/dictmultiobject.py
@@ -90,7 +90,7 @@
             w_missing = space.lookup(w_dict, "__missing__")
             if w_missing is None:
                 return None
-            return space.call_function(w_missing, w_dict, w_key)
+            return space.get_and_call_function(w_missing, w_dict, w_key)
         else:
             return None
 


More information about the Pypy-commit mailing list