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

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Oct 16 16:18:47 CEST 2007


Author: cfbolz
Date: Tue Oct 16 16:18:46 2007
New Revision: 47501

Modified:
   pypy/dist/pypy/objspace/std/dictobject.py
   pypy/dist/pypy/objspace/std/stringobject.py
Log:
drop two immutable-hints


Modified: pypy/dist/pypy/objspace/std/dictobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/dictobject.py	(original)
+++ pypy/dist/pypy/objspace/std/dictobject.py	Tue Oct 16 16:18:46 2007
@@ -7,6 +7,7 @@
 class W_DictObject(W_Object):
     from pypy.objspace.std.dicttype import dict_typedef as typedef
 
+    _immutable_ = True
     def __init__(w_self, space, w_otherdict=None):
         if w_otherdict is None:
             w_self.content = r_dict(space.eq_w, space.hash_w)

Modified: pypy/dist/pypy/objspace/std/stringobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/stringobject.py	(original)
+++ pypy/dist/pypy/objspace/std/stringobject.py	Tue Oct 16 16:18:46 2007
@@ -19,6 +19,7 @@
 class W_StringObject(W_Object):
     from pypy.objspace.std.stringtype import str_typedef as typedef
 
+    _immutable_ = True
     def __init__(w_self, str):
         w_self._value = str
 



More information about the Pypy-commit mailing list