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

All Samples(33)  |  Call(33)  |  Derive(0)  |  Import(0)
x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

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

src/o/r/Orange-2.7.2/Orange/OrangeWidgets/OWGUI.py   Orange(Download)
            for i in list.__getslice__(self, start, end):
                self.listBox.item(i).setSelected(0)
        list.__delslice__(self, start, end)
 
    def append(self, item):
    def __call__(self, *args): # triggered by selectionChange()
        if not self.disabled and self.control.ogValue != None:
            clist = getdeepattr(self.widget, self.control.ogValue)
            list.__delslice__(clist, 0, len(clist))
            control = self.control

src/c/o/ConceptBro-HEAD/Widgets/OWGUI.py   ConceptBro(Download)
            for i in list.__getslice__(self, start, end):
                self.listBox.item(i).setSelected(0)
        list.__delslice__(self, start, end)
 
    def append(self, item):
    def __call__(self, *args): # triggered by selectionChange()
        if not self.disabled and self.control.ogValue != None:
            clist = getdeepattr(self.widget, self.control.ogValue)
            list.__delslice__(clist, 0, len(clist))
            control = self.control

src/a/b/abilian-core-0.1.4/abilian/core/sqlalchemy.py   abilian-core(Download)
  def __delslice__(self, i, j):
    list.__delslice__(self, i, j)
    self.changed()
 
  def __iadd__(self, other):

src/h/u/hue-HEAD/desktop/core/ext-py/lxml/doc/s5/ep2008/atom.py   hue(Download)
    def __delslice__(self, i, j):
        old = self[i:j]
        list.__delslice__(self, i, j)
        self._do_remove(old)
    def __iadd__(self, other):

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/lxml/doc/s5/ep2008/atom.py   hortonworks-sandbox(Download)
    def __delslice__(self, i, j):
        old = self[i:j]
        list.__delslice__(self, i, j)
        self._do_remove(old)
    def __iadd__(self, other):

src/i/n/input-lib-HEAD/packages/lxml/doc/s5/ep2008/atom.py   input-lib(Download)
    def __delslice__(self, i, j):
        old = self[i:j]
        list.__delslice__(self, i, j)
        self._do_remove(old)
    def __iadd__(self, other):

src/t/r/traits-4.4.0/traits/trait_handlers.py   traits(Download)
    def __delslice__ ( self, i, j ):
        trait = getattr(self, 'trait', None)
        if trait is None:
            return list.__delslice__(self, i, j)
        delta = min( j, len( self ) ) - max( 0, i )
        if self.trait.minlen <= (len( self ) - delta):
            removed = self[ i: j ]
            list.__delslice__( self, i, j )

src/s/q/sqlalchemy-postgresql-json-0.4.3/sqlalchemy_postgresql_json/mutable.py   sqlalchemy-postgresql-json(Download)
    def __delslice__(self, i, j):
        list.__delslice__(self, i, j)
        self.changed()
 
    def extend(self, iterable):

src/l/x/lxml-3.3.5/doc/s5/ep2008/atom.py   lxml(Download)
    def __delslice__(self, i, j):
        old = self[i:j]
        list.__delslice__(self, i, j)
        self._do_remove(old)
    def __iadd__(self, other):

  1 | 2 | 3  Next