Descripción
Create static and class methods in a Python class
File Template: ❌
Prefix
class:staticclass
Scopes
python
Snippet de código
class ${1:MyClass}:
@staticmethod
def ${2:static_method}(${3:args}):
${4:pass}
@classmethod
def ${5:class_method}(cls, ${6:args}):
${7:pass}