Commit c4b5c81b authored by Łukasz Nowak's avatar Łukasz Nowak

- implement __setitem__ to allow using sequence[key] = value

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43356 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c02af7d0
......@@ -102,6 +102,9 @@ class Sequence:
def __getitem__(self, key):
return self._dict[key]
def __setitem__(self, key, value):
self._dict[key] = value
def asText(self):
"""
Representation of the current Sequence. Useful for debuggers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment