Spade

Mini Shell

Directory:~$ /proc/self/root/usr/lib64/python2.7/site-packages/zope/interface/common/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ //proc/self/root/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyc

�
j�/Qc@s�dZdZddlmZdejfd��YZdefd��YZdefd	��YZd
efd��YZdejfd
��YZ	de	fd��YZ
dee
fd��YZdS(sSequence Interfaces
trestructuredtexti����(t	interfacetIMinimalSequencecBseZdZd�ZRS(s�Most
basic sequence interface.

    All sequences are iterable.  This requires at least one of the
    following:

    - a `__getitem__()` method that takes a single argument; interger
      values starting at 0 must be supported, and `IndexError` should
      be raised for the first index for which there is no value, or

    - an `__iter__()` method that returns an iterator as defined in
      the Python documentation (http://docs.python.org/lib/typeiter.html).

    cCsdS(s�`x.__getitem__(index)` <==> `x[index]`

        Declaring this interface does not specify whether `__getitem__`
        supports slice
objects.N((tindex((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__getitem__"s(t__name__t
__module__t__doc__R(((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyRs
tIFiniteSequencecBseZd�ZRS(cCsdS(s`x.__len__()`
<==>
`len(x)`N((((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__len__*s(RRR	(((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyR(st
IReadSequencecBsqeZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
RS(s'read interface shared by tuple and
listcCsdS(s'`x.__contains__(item)` <==> `item in
x`N((titem((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__contains__0scCsdS(s"`x.__lt__(other)`
<==> `x <
other`N((tother((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__lt__3scCsdS(s#`x.__le__(other)`
<==> `x <=
other`N((R
((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__le__6scCsdS(s#`x.__eq__(other)`
<==> `x ==
other`N((R
((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__eq__9scCsdS(s#`x.__ne__(other)`
<==> `x !=
other`N((R
((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__ne__<scCsdS(s"`x.__gt__(other)`
<==> `x >
other`N((R
((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__gt__?scCsdS(s#`x.__ge__(other)`
<==> `x >=
other`N((R
((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__ge__BscCsdS(s#`x.__add__(other)`
<==> `x +
other`N((R
((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__add__EscCsdS(s`x.__mul__(n)`
<==> `x *
n`N((tn((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__mul__HscCsdS(s`x.__rmul__(n)`
<==> `n *
x`N((R((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__rmul__KscCsdS(s�`x.__getslice__(i,
j)` <==> `x[i:j]`

        Use of negative indices is not supported.

        Deprecated since Python 2.0 but still a part of `UserList`.
       
N((titj((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__getslice__Ns(RRRRRRRRRRRRRR(((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyR
-s										tIExtendedReadSequencecBs
eZdZd�Zd�ZRS(sFull read interface for listscCsdS(s%Return
number of occurrences of
valueN((R((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pytcountYscGsdS(sQReturn
first index of value

        `L.index(value, [start, [stop]])` ->
integerN((Rtargs((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyR\s(RRRRR(((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyRVs	tIUniqueMemberWriteSequencecBs�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	dd	�Z
d
�Zd�Zdd�Zd
�ZRS(sAThe write contract for a sequence that
may enforce unique memberscCsdS(s�`x.__setitem__(index, item)`
<==> `x[index] = item`

        Declaring this interface does not specify whether `__setitem__`
        supports slice objects.
       
N((RR((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__setitem__dscCsdS(s�`x.__delitem__(index)`
<==> `del x[index]`

        Declaring this interface does not specify whether `__delitem__`
        supports slice objects.
       
N((R((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__delitem__kscCsdS(s�`x.__setslice__(i,
j, other)` <==> `x[i:j]=other`

        Use of negative indices is not supported.

        Deprecated since Python 2.0 but still a part of `UserList`.
       
N((RRR
((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__setslice__rscCsdS(s�`x.__delslice__(i,
j)` <==> `del x[i:j]`

        Use of negative indices is not supported.

        Deprecated since Python 2.0 but still a part of `UserList`.
       
N((RR((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__delslice__zscCsdS(s`x.__iadd__(y)`
<==> `x +=
y`N((ty((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__iadd__�scCsdS(sAppend
item to
endN((R((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pytappend�scCsdS(sInsert
item before
indexN((RR((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pytinsert�si����cCsdS(s.Remove
and return item at index (default
last)N((R((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pytpop�scCsdS(s
Remove first occurrence of
valueN((R((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pytremove�scCsdS(sReverse
*IN
PLACE*N((((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pytreverse�scCsdS(s3Stable
sort *IN PLACE*; `cmpfunc(x, y)` -> -1, 0,
1N((tcmpfunc((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pytsort�scCsdS(s3Extend
list by appending elements from the
iterableN((titerable((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pytextend�sN(RRRRR
R!R"R$R%R&R'R(R)tNoneR+R-(((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyRas									tIWriteSequencecBseZdZd�ZRS(s!Full
write contract for sequencescCsdS(s`x.__imul__(n)` <==> `x *=
n`N((R((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt__imul__�s(RRRR0(((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyR/�st	ISequencecBseZdZRS(sFull
sequence
contract(RRR(((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyR1�sN(Rt
__docformat__tzopeRt	InterfaceRRR
RRR/R1(((sD/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyt<module>s)8