Python gives you the option of naming it something other than self
, even though the standard is to name it self
. Just as it gives you the option of using tabs for indents, even though the standard is to use spaces.
In other words, it's not just "assumed" because...
- To give you naming flexibility
- To make it clearer that something will be passed self (or not).
Amber
2010-08-16 01:22:31