[pypy-svn] r76838 - pypy/branch/no-_immutable_/pypy/objspace/std

arigo at codespeak.net arigo at codespeak.net
Thu Sep 2 16:12:06 CEST 2010


Author: arigo
Date: Thu Sep  2 16:12:05 2010
New Revision: 76838

Modified:
   pypy/branch/no-_immutable_/pypy/objspace/std/tupleobject.py
Log:
A more precise hint.


Modified: pypy/branch/no-_immutable_/pypy/objspace/std/tupleobject.py
==============================================================================
--- pypy/branch/no-_immutable_/pypy/objspace/std/tupleobject.py	(original)
+++ pypy/branch/no-_immutable_/pypy/objspace/std/tupleobject.py	Thu Sep  2 16:12:05 2010
@@ -10,7 +10,7 @@
 
 class W_TupleObject(W_Object):
     from pypy.objspace.std.tupletype import tuple_typedef as typedef
-    _immutable_ = True
+    _immutable_fields_ = ['wrappeditems[*]']
 
     def __init__(w_self, wrappeditems):
         make_sure_not_resized(wrappeditems)



More information about the Pypy-commit mailing list