Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Magic methods" is just the name people use for these special methods (another is dunder methods). They're "magic" because you do not call them by name, rather they are invoked by the interpreter in specific situations.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: