[pypy-svn] r71343 - pypy/branch/string-promote/pypy/objspace/std

fijal at codespeak.net fijal at codespeak.net
Fri Feb 19 20:45:41 CET 2010


Author: fijal
Date: Fri Feb 19 20:45:40 2010
New Revision: 71343

Modified:
   pypy/branch/string-promote/pypy/objspace/std/sharingdict.py
Log:
Eh, adhere to the standard


Modified: pypy/branch/string-promote/pypy/objspace/std/sharingdict.py
==============================================================================
--- pypy/branch/string-promote/pypy/objspace/std/sharingdict.py	(original)
+++ pypy/branch/string-promote/pypy/objspace/std/sharingdict.py	Fri Feb 19 20:45:40 2010
@@ -33,11 +33,11 @@
         self.other_structs.set(added_key, new_structure)
         return new_structure
 
-    @purefunction_promote(0)
+    @purefunction_promote('0')
     def lookup_position(self, key):
         return self.keys.get(key, -1)
 
-    @purefunction_promote(0)
+    @purefunction_promote('0')
     def get_next_structure(self, key):
         new_structure = self.other_structs.get(key)
         if new_structure is None:



More information about the Pypy-commit mailing list