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

Class Mapping

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

A Mapping is a generic container for associating key/value pairs.

This class provides concrete generic implementations of all methods except for __getitem__, __iter__, and __len__.

Nested Classes [hide private]
    Inherited from Sized
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
 
__contains__(self, key)
 
__eq__(self, other)
 
__getitem__(self, key)
 
__ne__(self, other)
D[k] if k in D, else d
get(D, k, d=...)
d defaults to None.
list of D's (key, value) pairs, as 2-tuples
items(D)
an iterator over the (key, value) items of D
iteritems(D)
an iterator over the keys of D
iterkeys(D)
an iterator over the values of D
itervalues(D)
list of D's keys
keys(D)
list of D's values
values(D)
    Inherited from Sized
 
__len__(self)
    Inherited from Iterable
 
__iter__(self)
    Inherited from object
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__format__(...)
default object formatter
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__reduce__(...)
helper for pickle
 
__reduce_ex__(...)
helper for pickle
 
__repr__(x)
repr(x)
 
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
int
__sizeof__()
size of object in memory, in bytes
 
__str__(x)
str(x)
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__', '__iter__', '_...
  __hash__ = None
hash(x)
  _abc_negative_cache_version = 3
    Inherited from Sized
  _abc_cache = <_weakrefset.WeakSet object at 0x7f0f2a950f90>
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x7f0f2a9...
  _abc_registry = <_weakrefset.WeakSet object at 0x7f0f2a950ed0>
Properties [hide private]
    Inherited from object
  __class__
the object's class
Method Details [hide private]

__contains__(self, key)
(In operator)

 
Overrides: Container.__contains__

Class Variable Details [hide private]

__abstractmethods__

Value:
frozenset(['__getitem__', '__iter__', '__len__'])