mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
implement _SaverDict | _SaverDict
This commit is contained in:
parent
18990b52c0
commit
d91b4ecaff
1 changed files with 3 additions and 0 deletions
|
|
@ -243,6 +243,9 @@ class _SaverMutable(object):
|
|||
def __or__(self, other):
|
||||
return self._data | other
|
||||
|
||||
def __ror__(self, other):
|
||||
return self._data | other
|
||||
|
||||
@_save
|
||||
def __setitem__(self, key, value):
|
||||
self._data.__setitem__(key, self._convert_mutables(value))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue