maybeclassmethod

class ase2sprkkr.common.test.decorators.maybeclassmethod(method)[source]

This decorator creates a method, that can behawes both as classmethod and normal method - it provides both self and cls, when self can be None

Class hierarchy

Inheritance diagram of ase2sprkkr.common.test.decorators.maybeclassmethod

Constructor

__init__(method)[source]