[pypy-svn] r10290 - pypy/dist/pypy/interpreter

tismer at codespeak.net tismer at codespeak.net
Mon Apr 4 16:29:22 CEST 2005


Author: tismer
Date: Mon Apr  4 16:29:21 2005
New Revision: 10290

Modified:
   pypy/dist/pypy/interpreter/function.py
Log:
typo

Modified: pypy/dist/pypy/interpreter/function.py
==============================================================================
--- pypy/dist/pypy/interpreter/function.py	(original)
+++ pypy/dist/pypy/interpreter/function.py	Mon Apr  4 16:29:21 2005
@@ -181,7 +181,7 @@
             #if w_cls == space.w_None:
             #    w_cls = space.type(w_obj)
             if (w_cls is not None and
-                not space_is_w(w_cls, space.w_None) and
+                not space.is_w(w_cls, space.w_None) and
                 not space.is_true(space.abstract_issubclass(w_cls, self.w_class))):
                 return space.wrap(self)   # subclass test failed
             return space.get(self.w_function, w_obj, w_cls)



More information about the Pypy-commit mailing list