Package zope :: Package interface :: Package common :: Module sequence :: Class ISequence
[show private | hide private]
[frames | no frames]

Type ISequence

         Interface --+            
                     |            
      IMinimalSequence --+        
                         |        
           IFiniteSequence --+    
                             |    
                 IReadSequence --+
                                 |
             Interface --+       |
                         |       |
IUniqueMemberWriteSequence --+   |
                             |   |
                IWriteSequence --+
                                 |
                                ISequence


Full sequence contract
Method Summary
    Inherited from InterfaceClass
  __contains__(self, name)
  __getitem__(self, name)
Return the attribute description for the given name.
  __gt__(self, other)
  __iter__(self)
  __lt__(self, other)

Class Variable Summary
str __add__ = 'x.__add__(other) <==> x+other'
str __delitem__ = 'x.__delitem__(index) <==> del x[index]\n ...
str __delslice__ = 'x.__delslice__(i, j) <==> del x[i:j]\n\n...
str __eq__ = 'x.__eq__(other) <==> x==other'
str __ge__ = 'x.__ge__(other) <==> x>=other'
str __getslice__ = 'x.__getslice__(i, j) <==> x[i:j]\n\n    ...
str __iadd__ = 'x.__iadd__(y) <==> x+=y'
str __imul__ = 'x.__imul__(n) <==> x*=n'
str __le__ = 'x.__le__(other) <==> x<=other'
str __len__ = 'x.__len__() <==> len(x)'
str __mul__ = 'x.__mul__(n) <==> x*n'
str __ne__ = 'x.__ne__(other) <==> x!=other'
str __rmul__ = 'x.__rmul__(n) <==> n*x'
str __setitem__ = 'x.__setitem__(index, item) <==> x[index]=...
str __setslice__ = 'x.__setslice__(i, j, other) <==> x[i:j]=...
str append = 'append item to end'
str extend = 'extend list by appending elements from the ite...
str insert = 'insert item before index'
str pop = 'remove and return item at index (default last)'
str remove = 'remove first occurrence of value'
str reverse = 'reverse *IN PLACE*'
str sort = 'stable sort *IN PLACE*; cmpfunc(x, y) -> -1, 0, ...

Class Variable Details

__add__

Type:
str
Value:
'x.__add__(other) <==> x+other'                                        

__delitem__

Type:
str
Value:
'''x.__delitem__(index) <==> del x[index]
        
        Declaring this interface does not specify whether __delitem__
        supports slice objects.'''                                     

__delslice__

Type:
str
Value:
'''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.
        '''                                                            

__eq__

Type:
str
Value:
'x.__eq__(other) <==> x==other'                                        

__ge__

Type:
str
Value:
'x.__ge__(other) <==> x>=other'                                        

__getslice__

Type:
str
Value:
'''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.
        '''                                                            

__iadd__

Type:
str
Value:
'x.__iadd__(y) <==> x+=y'                                              

__imul__

Type:
str
Value:
'x.__imul__(n) <==> x*=n'                                              

__le__

Type:
str
Value:
'x.__le__(other) <==> x<=other'                                        

__len__

Type:
str
Value:
'x.__len__() <==> len(x)'                                              

__mul__

Type:
str
Value:
'x.__mul__(n) <==> x*n'                                                

__ne__

Type:
str
Value:
'x.__ne__(other) <==> x!=other'                                        

__rmul__

Type:
str
Value:
'x.__rmul__(n) <==> n*x'                                               

__setitem__

Type:
str
Value:
'''x.__setitem__(index, item) <==> x[index]=item
        
        Declaring this interface does not specify whether __setitem__
        supports slice objects.'''                                     

__setslice__

Type:
str
Value:
'''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.
        '''                                                            

append

Type:
str
Value:
'append item to end'                                                   

extend

Type:
str
Value:
'extend list by appending elements from the iterable'                  

insert

Type:
str
Value:
'insert item before index'                                             

pop

Type:
str
Value:
'remove and return item at index (default last)'                       

remove

Type:
str
Value:
'remove first occurrence of value'                                     

reverse

Type:
str
Value:
'reverse *IN PLACE*'                                                   

sort

Type:
str
Value:
'stable sort *IN PLACE*; cmpfunc(x, y) -> -1, 0, 1'                    

Generated by Epydoc 2.1 on Fri Jun 24 12:01:26 2005 http://epydoc.sf.net