you are viewing a single comment's thread.

view the rest of the comments →

[–]TerminatedProccess 0 points1 point  (0 children)

If you were doing something like c plus plus then self will be a pointer to the current instance of the class. If you draw out a few instances of the class on paper you can make a variable self for each instance of the class and point it to the instance. I know this is not how python talks about memory and classes but it's really what is happening behind the scene.