[pypy-svn] r76873 - pypy/branch/better-map-instances/pypy/objspace/std
arigo at codespeak.net
arigo at codespeak.net
Sun Sep 5 15:58:04 CEST 2010
Author: arigo
Date: Sun Sep 5 15:58:01 2010
New Revision: 76873
Modified:
pypy/branch/better-map-instances/pypy/objspace/std/mapdict.py
Log:
Fix RPythonicity.
Modified: pypy/branch/better-map-instances/pypy/objspace/std/mapdict.py
==============================================================================
--- pypy/branch/better-map-instances/pypy/objspace/std/mapdict.py (original)
+++ pypy/branch/better-map-instances/pypy/objspace/std/mapdict.py Sun Sep 5 15:58:01 2010
@@ -11,6 +11,7 @@
NUM_DIGITS = 4
class AbstractAttribute(object):
+ _immutable_fields_ = ['w_cls']
cache_attrs = None
_size_estimate = 0
@@ -86,7 +87,6 @@
class Terminator(AbstractAttribute):
- _immutable_fields_ = ['w_cls']
def read(self, obj, selector):
return None
More information about the Pypy-commit
mailing list