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/m/o/mozilla-ignite-learning-lab-demos-HEAD/lab-6-7-openflow/controller/pox/lib/util.py   mozilla-ignite-learning-lab-demos(Download)
  def __delslice__ (self, k):
    #TODO: actually check for change
    self._smudge('__delslice__', k, None)
    list.__delslice__(self, k)
 

src/r/o/RouteFlow-HEAD/pox/pox/lib/util.py   RouteFlow(Download)
  def __delslice__ (self, k):
    #TODO: actually check for change
    self._smudge('__delslice__', k, None)
    list.__delslice__(self, k)
 

src/p/o/pox-HEAD/pox/lib/util.py   pox(Download)
  def __delslice__ (self, k):
    #TODO: actually check for change
    self._smudge('__delslice__', k, None)
    list.__delslice__(self, k)
 

src/p/y/pydrizzle-6.4.3/pydrizzle/traits102/trait_handlers.py   pydrizzle(Download)
    def __delslice__ ( self, i, j ):
        delta = min( j, len( self ) ) - max( 0, i )
        if self.trait.min_items <= (len( self ) - delta):
            list.__delslice__( self, i, j )
            if self.name_items is not None:

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/grammar/list.py   SublimeSpeech(Download)
    def __delslice__(self, *args, **kwargs):
        result = list.__delslice__(self, *args, **kwargs)
        self._update(); return result
    def __iadd__(self, *args, **kwargs):
        result = list.__iadd__(self, *args, **kwargs)

src/s/m/Smap-2.0.bcb1a7/smap/util.py   Smap(Download)
    def set_size(self, size):
        if len(self) > size:
            self.__delslice__(0, self.size  - size)
        self.size = size
 

src/d/r/dragonfly-0.6.5/dragonfly/grammar/list.py   dragonfly(Download)
    def __delslice__(self, *args, **kwargs):
        result = list.__delslice__(self, *args, **kwargs)
        self._update(); return result
    def __iadd__(self, *args, **kwargs):
        result = list.__iadd__(self, *args, **kwargs)

src/i/n/invenio-HEAD/modules/webstyle/lib/webinterface_handler_wsgi_utils.py   invenio(Download)
    def __delslice__(self, *args):
        self.__table = None
        return list.__delslice__(self, *args)
 
    def __iadd__(self, *args):

src/s/n/SNAKES-0.9.17/snakes/hashables.py   SNAKES(Download)
    def __delslice__ (self, *l, **d) :
        self.__mutable__()
        list.__delslice__(self, *l, **d)
    def __getslice__ (self, first, last) :
        return self.__class__(list.__getslice__(self, first, last))

src/d/a/daap-player-HEAD/daap_player.py   daap-player(Download)
    def clear(self):
        self.__delslice__(0, len(self))
 
    def search(self, pattern, fields=("artist", "album", "name"),
               flags=re.IGNORECASE):

Previous  1 | 2 | 3