3 ms·
No. Why would it? As most OO languages, Python has function overloading based on the type of the parameters. The fact that those operators do different things
by marcosdumay 12y ago
No. Why would it?
As most OO languages, Python has function overloading based on the type of the parameters. The fact that those operators do different things when operating on different types is evidence that Python has strict types, not loose.
- task_queue 12y agoNot overloading in the sense of Java and what not. There is no dynamic dispatch based on types in the interpreter, you have to manually do it in the body of the method, of which you have one.