Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(108)  |  Call(108)  |  Derive(0)  |  Import(0)
x.__delitem__(y) <==> del x[y]

src/d/i/digsby-HEAD/digsby/src/util/observe/observablelist.py   digsby(Download)
    def __delitem__ (self,key): return list.__delitem__(self, key)
    @notify_wrap
    def __setslice__ (self, i, j, seq): return list.__setslice__(self, i, j, seq)
    @notify_wrap
    def __delslice__(self, i, j): return list.__delslice__(self, i, j)

src/n/o/nodebox-opengl-1.6.1/nodebox/graphics/context.py   nodebox-opengl(Download)
    def __delitem__(self, i):
        self._dirty = True; self._index={}; list.__delitem__(self, i)
    def sort(self):
        self._dirty = True; self._index={}; list.sort(self)
    def reverse(self):

src/o/r/Orange-2.7.2/Orange/OrangeWidgets/OWGUI.py   Orange(Download)
    def __delitem__(self, index):
        self.listBox.item(__getitem__(self, index)).setSelected(0)
        list.__delitem__(self, index)
 
    def __setslice__(self, start, end, slice):

src/s/n/SNAKES-0.9.17/snakes/hashables.py   SNAKES(Download)
    def __delitem__ (self, item) :
        self.__mutable__()
        list.__delitem__(self, item)
    def __delslice__ (self, *l, **d) :
        self.__mutable__()

src/f/l/flatland-fork-0.1.post2.dev128296736/flatland/schema/containers.py   flatland-fork(Download)
    def __delitem__(self, index):
        # Optimizing __delitem__ or pop when removing only the last item
        # doesn't seem worth it.
        list.__delitem__(self, index)  # slices ok
        self._renumber()

src/c/o/ConceptBro-HEAD/Widgets/OWGUI.py   ConceptBro(Download)
    def __delitem__(self, index):
        self.listBox.item(__getitem__(self, index)).setSelected(0)
        list.__delitem__(self, index)
 
    def __setslice__(self, start, end, slice):

src/f/l/flatland-HEAD/flatland/schema/containers.py   flatland(Download)
    def __delitem__(self, index):
        # Optimizing __delitem__ or pop when removing only the last item
        # doesn't seem worth it.
        list.__delitem__(self, index)  # slices ok
        self._renumber()

src/a/b/abilian-core-0.1.4/abilian/core/sqlalchemy.py   abilian-core(Download)
  def __delitem__(self, idx):
    list.__delitem__(self, idx)
    self.changed()
 
  def insert(self, idx, value):

src/m/o/mozilla-ignite-learning-lab-demos-HEAD/lab-6-7-openflow/controller/pox/lib/util.py   mozilla-ignite-learning-lab-demos(Download)
  def __delitem__ (self, k):
    list.__delitem__(self, k)
    if isinstance(k, slice):
      #TODO: actually check for change
      self._smudge('__delitem__slice',k,v)

src/r/o/RouteFlow-HEAD/pox/pox/lib/util.py   RouteFlow(Download)
  def __delitem__ (self, k):
    list.__delitem__(self, k)
    if isinstance(k, slice):
      #TODO: actually check for change
      self._smudge('__delitem__slice',k,v)

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next