Skip to main content
`Ctrl`+`K`

# skbio.util.classonlymethod

class skbio.util.classonlymethod(func)

  Just like classmethod, but it can’t be called on an instance.

  Special methods

  `__get__` | Return an attribute of instance, which is of type owner.

  Special methods (inherited)

  `__eq__` | Return self==value.
  `__ge__` | Return self>=value.
  `__getstate__` | Helper for pickle.
  `__gt__` | Return self>value.
  `__hash__` | Return hash(self).
  `__le__` | Return self<=value.
  `__lt__` | Return self<value.
  `__ne__` | Return self!=value.
  `__str__` | Return str(self).

  Details

  __get__(obj, cls=None)

    Return an attribute of instance, which is of type owner.