Skip to content
Permalink
Browse files

Marked some immutable fields as such

  • Loading branch information
Alex Gaynor
Alex Gaynor committed Apr 13, 2013
1 parent 3dc343b commit 00825276a5f861e14ec15b33c687d066b6b09cac
Showing with 2 additions and 0 deletions.
  1. +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

0 comments on commit 0082527

Please sign in to comment.
You can’t perform that action at this time.