[pypy-svn] r49745 - pypy/branch/interplevel-oldstyle-classes/pypy/module/__builtin__

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Dec 13 22:44:01 CET 2007


Author: cfbolz
Date: Thu Dec 13 22:43:59 2007
New Revision: 49745

Modified:
   pypy/branch/interplevel-oldstyle-classes/pypy/module/__builtin__/interp_classobj.py
Log:
fix annotation problem


Modified: pypy/branch/interplevel-oldstyle-classes/pypy/module/__builtin__/interp_classobj.py
==============================================================================
--- pypy/branch/interplevel-oldstyle-classes/pypy/module/__builtin__/interp_classobj.py	(original)
+++ pypy/branch/interplevel-oldstyle-classes/pypy/module/__builtin__/interp_classobj.py	Thu Dec 13 22:43:59 2007
@@ -249,7 +249,7 @@
     except OperationError, e:
         if not e.match(space, space.w_TypeError):
             raise
-        return (None, None)
+        return [None, None]
     return space.unpacktuple(w_tup, 2)
 
 class W_InstanceObject(Wrappable):



More information about the Pypy-commit mailing list