[pypy-svn] r39756 - pypy/branch/rope-branch/pypy/objspace/std

arigo at codespeak.net arigo at codespeak.net
Sat Mar 3 00:25:24 CET 2007


Author: arigo
Date: Sat Mar  3 00:25:21 2007
New Revision: 39756

Modified:
   pypy/branch/rope-branch/pypy/objspace/std/ropeobject.py
Log:
Translation fix.  More to come.


Modified: pypy/branch/rope-branch/pypy/objspace/std/ropeobject.py
==============================================================================
--- pypy/branch/rope-branch/pypy/objspace/std/ropeobject.py	(original)
+++ pypy/branch/rope-branch/pypy/objspace/std/ropeobject.py	Sat Mar  3 00:25:21 2007
@@ -25,7 +25,7 @@
         return w_self._node.flatten()
 
     def create_if_subclassed(w_self):
-        if type(w_self) == W_RopeObject:
+        if type(w_self) is W_RopeObject:
             return w_self
         return W_RopeObject(w_self._node)
 



More information about the Pypy-commit mailing list