Beispiel #1
0
 def insert(self, i, item, taint=True):
     self._associate_heading(
         item,
         self[i - 1] if i - 1 >= 0 and i - 1 < len(self) else None,
         self[i] if i >= 0 and i < len(self) else None,
         taint=taint)
     MultiPurposeList.insert(self, i, item)
Beispiel #2
0
 def insert(self, i, item, taint=True):
     # self._associate_domobj(
     # 	item,
     # 	self[i - 1] if i - 1 >= 0 and i - 1 < len(self) else None,
     # 	self[i] if i >= 0 and i < len(self) else None, taint=taint)
     MultiPurposeList.insert(self, i, item)