+ 1

Special functions __add__,__mul__

Can the special functions like __add__; __mul__ change the priority of math operators?

26th Nov 2018, 4:21 PM
Bartek Sobura
Bartek Sobura - avatar
1 ответ
+ 1
This will not change the priority of math operators because __add__ is just the second form of + and other also.
26th Nov 2018, 4:40 PM
Maninder $ingh
Maninder $ingh - avatar