Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Marked some immutable fields as such
- Loading branch information
Showing
with
2 additions
and
0 deletions.
-
+2
−0
topaz/celldict.py
|
@@ -32,6 +32,8 @@ def setvalue(self, space, name, w_value): |
|
|
|
|
|
|
|
|
class GetterSetterCell(BaseCell): |
|
|
_immutable_fields_ = ["getter", "setter"] |
|
|
|
|
|
def __init__(self, getter, setter=None): |
|
|
self.getter = getter |
|
|
self.setter = setter |
|
|