Its use is similar to the use of this
keyword in Java, i.e. to give a reference to the current object.
↧
Answer by Gaurav Nishant for What is the purpose of the word 'self', in Python?
↧
Its use is similar to the use of this
keyword in Java, i.e. to give a reference to the current object.