+ 1

magic method

please help me to understand the magic method of python and the code is written in first section of magic method and overloading

24th Jul 2020, 2:52 PM
Kriti Pashine
Kriti Pashine - avatar
3 Antworten
+ 5
Do you talking about magic methods in python. If so it is used for operator overloading and surround by underscores. As Abhay and Ipang said add relevant tags This link may help you https://www.geeksforgeeks.org/dunder-magic-methods-python/
24th Jul 2020, 3:16 PM
v@msi😉
v@msi😉 - avatar
+ 3
Where is the code? And pls mention the Language name in tags
24th Jul 2020, 3:05 PM
Abhay
Abhay - avatar
+ 2
Please don't write a question (or plea) into the thread tags. Instead put a relevant programming language to improve context clarity.
24th Jul 2020, 3:07 PM
Ipang