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

All Samples(59)  |  Call(59)  |  Derive(0)  |  Import(0)
x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

src/s/n/SNAKES-0.9.17/snakes/hashables.py   SNAKES(Download)
    def __setslice__ (self, first, last, item) :
        self.__mutable__()
        list.__setslice__(self, first, last, item)
    def append (self, item) :
        self.__mutable__()

src/d/i/digsby-HEAD/digsby/src/util/observe/observablelist.py   digsby(Download)
    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)
    @notify_wrap
    def append(self, elem): return list.append(self, elem)

src/u/n/unknown-horizons-HEAD/horizons/util/python/weaklist.py   unknown-horizons(Download)
	def __setslice__(self, i, j, iterable):
		list.__setslice__(self, i, j, self.__iter_over_weakref(iterable))
 
	def __reversed__(self):
		return iter([i() for i in list.__reversed__(self)])

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

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

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

src/o/r/Orange-2.7.2/Orange/OrangeWidgets/OWGUI.py   Orange(Download)
        for i in slice:
            self.listBox.item(i).setSelected(1)
        list.__setslice__(self, start, end, slice)
 
    def __delslice__(self, start, end):

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

src/c/r/crate-0.9.0/src/crate/client/sqlalchemy/types.py   crate(Download)
    def __setslice__(self, i, j, other):
        list.__setslice__(self, i, j, other)
        self.changed()
 
    def extend(self, iterable):

src/c/o/ConceptBro-HEAD/Widgets/OWGUI.py   ConceptBro(Download)
        for i in slice:
            self.listBox.item(i).setSelected(1)
        list.__setslice__(self, start, end, slice)
 
    def __delslice__(self, start, end):

  1 | 2 | 3 | 4 | 5 | 6  Next