Skip to content

Commit

Permalink
Merge c2f7f33 into 9d2cc06
Browse files Browse the repository at this point in the history
  • Loading branch information
lungj committed Jul 14, 2019
2 parents 9d2cc06 + c2f7f33 commit cdd7c4d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions persistent/list.py
Expand Up @@ -31,6 +31,7 @@ class PersistentList(UserList, persistent.Persistent):
__super_iadd = UserList.__iadd__
__super_imul = UserList.__imul__
__super_append = UserList.append
__super_clear = UserList.clear
__super_insert = UserList.insert
__super_pop = UserList.pop
__super_remove = UserList.remove
Expand Down Expand Up @@ -72,6 +73,10 @@ def append(self, item):
self.__super_append(item)
self._p_changed = 1

def clear(self):
self.__super_clear()
self._p_changed = 1

def insert(self, i, item):
self.__super_insert(i, item)
self._p_changed = 1
Expand Down

0 comments on commit cdd7c4d

Please sign in to comment.