class documentation

Meta base class for __slots__ definitions.

Method __new__ Called when a class should be created.
Class Method _GetSlots Used to get the list of defined slots.
def __new__(mcs, name, bases, attrs):

Called when a class should be created.

Parameters
mcsThe meta class
nameName of created class
basesBase classes
attrs:dictClass attributes
@classmethod
def _GetSlots(mcs, attrs):

Used to get the list of defined slots.

Parameters
mcsUndocumented
attrsThe attributes of the class