Static methods in Python are general utility methods that do not use any instance or class variables and are not passed self or cls arguments when declared.
Download as PPT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
78 views
Python Static Method
Static methods in Python are general utility methods that do not use any instance or class variables and are not passed self or cls arguments when declared.
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 2
Python Static Methods
In general these methods are general utility
methods. Inside these methods we won't use any instance or class variables. Here we won't provide self or cls arguments at the time of declaration.