I dont understand anything about Magic Methods | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

I dont understand anything about Magic Methods

Please help, I am stuck with this!

17th Nov 2016, 1:39 PM
Benas Molis
Benas Molis - avatar
3 ответов
+ 2
http://www.diveintopython3.net/special-method-names.html Explains reflected operands, things that act like other classes, etc.
17th Nov 2016, 4:29 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
u can use them to change the application of operators. for example + can do anything that u want!
17th Nov 2016, 1:55 PM
Arya Sadeghi
Arya Sadeghi - avatar
0
Thanks
17th Nov 2016, 1:56 PM
Benas Molis
Benas Molis - avatar