Q/ parantheses magic method | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
+ 1

Q/ parantheses magic method

Can anyone give a brief about whether a parantheses magic method exist and if so how does it work, how does sing quote and double quote are recogonized? If there is none how does it recognize it? Didnt find a source online

11th Jun 2017, 4:32 PM
Elad Goldenberg
Elad Goldenberg - avatar
2 odpowiedzi
+ 2
a parenthesis magic method? what do you mean?
11th Jun 2017, 10:06 PM
Amaras A
Amaras A - avatar
+ 1
The same as __add__ equivalent to "+"
11th Jun 2017, 10:43 PM
Elad Goldenberg
Elad Goldenberg - avatar