Frage im Vorstellungsgespräch bei Delivery Hero

What are magic methods in Python?

Antwort im Vorstellungsgespräch

Anonym

8. Dez. 2021

Methods that starts and ends with double underscore that are used internally by the classes to provide or describe some functionality. E.g: __str__ method.