_abcoll :: Sequence :: Class Sequence
[hide private]
[frames] | no frames]

Class Sequence

object --+    
     Sized --+
object --+   |
         |   |
  Iterable --+
object --+   |
         |   |
 Container --+
Known Subclasses:

All the operations on a read-only sequence.

Concrete subclasses must override __new__ or __init__, __getitem__, and __len__.

Nested Classes [hide private]
    Inherited from Sized
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
__contains__(self, value)
__getitem__(self, index)
count(S, value)
return number of occurrences of value
index(S, value)
return first index of value.
    Inherited from Sized
    Inherited from object
x.__delattr__('name') <==> del x.name
default object formatter
x.__getattribute__('name') <==> x.name
x.__init__(...) initializes x; see help(type(x)) for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
helper for pickle
helper for pickle
x.__setattr__('name', value) <==> x.name = value
size of object in memory, in bytes
Class Methods [hide private]
    Inherited from Sized
__subclasshook__(cls, C)
Abstract classes can override this to customize issubclass().
Class Variables [hide private]
  __abstractmethods__ = frozenset(['__getitem__', '__len__'])
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x7fab908...
  _abc_negative_cache_version = 19
  _abc_registry = <_weakrefset.WeakSet object at 0x7fab929a52d0>
    Inherited from Sized
  _abc_cache = <_weakrefset.WeakSet object at 0x7fab92a3df90>
Properties [hide private]
    Inherited from object
the object's class
Method Details [hide private]

__contains__(self, value)
(In operator)

Overrides: Container.__contains__


Overrides: Iterable.__iter__

index(S, value)


return first index of value. Raises ValueError if the value is not present.

Returns: integer

Class Variable Details [hide private]


<_weakrefset.WeakSet object at 0x7fab9087ca90>