Q/ parantheses magic method | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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