[pypy-svn] r52448 - pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk

tverwaes at codespeak.net tverwaes at codespeak.net
Thu Mar 13 15:15:28 CET 2008


Author: tverwaes
Date: Thu Mar 13 15:15:26 2008
New Revision: 52448

Modified:
   pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/shadow.py
   pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/utility.py
Log:
fixed typo + removed old comment


Modified: pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/shadow.py
==============================================================================
--- pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/shadow.py	(original)
+++ pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/shadow.py	Thu Mar 13 15:15:26 2008
@@ -238,7 +238,7 @@
 
     def lookup(self, selector):
         look_in_shadow = self
-        while lookin_shadow is not None:
+        while look_in_shadow is not None:
             try:
                 w_method = look_in_shadow.methoddict[selector]
                 # We locally cache the method we found.

Modified: pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/utility.py
==============================================================================
--- pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/utility.py	(original)
+++ pypy/branch/smalltalk-shadow-changes/pypy/lang/smalltalk/utility.py	Thu Mar 13 15:15:26 2008
@@ -10,8 +10,6 @@
         return w_value.value
     raise UnwrappingError("expected a W_SmallInteger, got %s" % (w_value,))
 
-# XXX maybe chars are stored in char-table for uniqueness? This would solve
-# the equal problem...
 def unwrap_char(w_char):
     from pypy.lang.smalltalk import classtable, objtable, constants
     w_class = w_char.getclass()



More information about the Pypy-commit mailing list