Commit 0540d71a authored by Julien Muchembled's avatar Julien Muchembled

dict.get() takes no keyword arguments

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24870 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 00015e92
...@@ -125,11 +125,11 @@ class Sequence: ...@@ -125,11 +125,11 @@ class Sequence:
def edit(self, *args, **kw): def edit(self, *args, **kw):
return self._dict.update(*args, **kw) return self._dict.update(*args, **kw)
def get(self, *args, **kw): def get(self, key, default=None):
return self._dict.get(*args, **kw) return self._dict.get(key, default)
def setdefault(self, *args, **kw): def setdefault(self, key, default=None):
return self._dict.setdefault(*args, **kw) return self._dict.setdefault(key, default)
class SequenceList: class SequenceList:
......
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