I'm learning python and I keep coming across variables like __name__ and __add__. I was wondering if they had a given name (either in the context of Python, or programming in general) and if there exists a resource which defines all of them?
Asked
Active
Viewed 64 times
1 Answers
0
They're call magic methods. This seems to be a decent guide about them: http://www.rafekettler.com/magicmethods.html

willnx
- 1,253
- 1
- 8
- 14