Builtin decorators
@staticmethod
✅ Declares a static method in the class.
✅ It cannot have cls or self parameter.
✅ The static method cannot access the class attributes or the instance attributes.
✅ The static method can be called using ClassName.MethodName() and also using object.MethodName().
✅ It can return an object of the class.
Source_link
Post #45
197
