[pypy-svn] r44583 - pypy/dist/pypy/objspace/std

mwh at codespeak.net mwh at codespeak.net
Thu Jun 28 10:47:21 CEST 2007


Author: mwh
Date: Thu Jun 28 10:47:20 2007
New Revision: 44583

Modified:
   pypy/dist/pypy/objspace/std/dictmultiobject.py
Log:
improve two comments


Modified: pypy/dist/pypy/objspace/std/dictmultiobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/dictmultiobject.py	(original)
+++ pypy/dist/pypy/objspace/std/dictmultiobject.py	Thu Jun 28 10:47:20 2007
@@ -14,7 +14,7 @@
     directly to signal that the key is not in the dict in any case.
     XXX The types should provide such a flag. """
 
-    # XXX there are much more types
+    # XXX there are many more types
     return (space.is_w(w_lookup_type, space.w_NoneType) or
             space.is_w(w_lookup_type, space.w_int) or
             space.is_w(w_lookup_type, space.w_bool) or
@@ -150,7 +150,7 @@
     def get(self, w_lookup):
         space = self.space
         if not _is_str(space, w_lookup) and not _is_sane_hash(space, w_lookup):
-            # count hash
+            # give hash a chance to raise an exception
             space.hash(w_lookup)
         return None
 



More information about the Pypy-commit mailing list