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

Class Container

object --+
         |
        Container
Known Subclasses:

hash(x)

Nested Classes [hide private]
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
 
__contains__(self, x)
    Inherited from object
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__format__(...)
default object formatter
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__hash__(x)
hash(x)
 
__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]
 
__subclasshook__(cls, C)
Abstract classes can override this to customize issubclass().
Class Variables [hide private]
  __abstractmethods__ = frozenset(['__contains__'])
  _abc_cache = <_weakrefset.WeakSet object at 0x7f63cb1fd190>
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x7f63cb1...
  _abc_negative_cache_version = 1
  _abc_registry = <_weakrefset.WeakSet object at 0x7f63cb1fd0d0>
Properties [hide private]
    Inherited from object
  __class__
the object's class
Method Details [hide private]

__subclasshook__(cls, C)
Class Method

 

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

Overrides: object.__subclasshook__
(inherited documentation)

Class Variable Details [hide private]

_abc_negative_cache

Value:
<_weakrefset.WeakSet object at 0x7f63cb1fd210>