__init__(self, *args, **kwargs) | called at object creation with the arguments given in the constructor |
__slots__ | not actually a method, but a field which defines the object attributes, saving memory |
__len__(self) | called by len(container) |
__getitem__(self, key) | called by accesses to container[key] |
__setitem__(self, key, value) | called by "container[key] = value" |
__delitem__(self, key) | called by "del container[key]" |
__iter__(self) | called by iter(container) |
__contains__(self, item)* | called by test "item in container" |