skbio.util.classonlymethod#
- class skbio.util.classonlymethod(function, /)[source]#
Just like classmethod, but it can’t be called on an instance.
Special methods
__get__
(obj[, cls])Return an attribute of instance, which is of type owner.
Special methods (inherited)
__eq__
(value, /)Return self==value.
__ge__
(value, /)Return self>=value.
__getstate__
(/)Helper for pickle.
__gt__
(value, /)Return self>value.
__hash__
(/)Return hash(self).
__le__
(value, /)Return self<=value.
__lt__
(value, /)Return self<value.
__ne__
(value, /)Return self!=value.
__str__
(/)Return str(self).
Details