__init__ : Constructors , Call... When the object is generated __del__ : Destructor , Use... When releasing objects __repr__ : Print , transformation __setitem__ : Assign values according to the index __getitem__: Get values by index __len__: Get the length __cmp__: Comparison operations __call__: Function call __add__: Add operation __sub__: Subtraction operation __mul__: Multiplication __truediv__: In addition to the operation __mod__: The remainder __pow__: chengfang
Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .