Guillermo Martínez Espina Updated on April 30, 2025
In Python, the keyword cls is used to access a class method, while the keyword self is used to access an instance method. Learn more about the differences between cls and self and how they relate to certain method types in Python.