Class PyClassMethodDescr

All Implemented Interfaces:
Serializable, PyBuiltinCallable.Info, Traverseproc

public class PyClassMethodDescr extends PyMethodDescr
See Also:
  • Field Details

    • TYPE

      public static final PyType TYPE
  • Method Details

    • __get__

      public PyObject __get__(PyObject obj, PyObject type)
      Description copied from class: PyObject
      Get descriptor for this PyObject.
      Overrides:
      __get__ in class PyMethodDescr
      Parameters:
      obj - - the instance accessing this descriptor. Can be null if this is being accessed by a type.
      type - - the type accessing this descriptor. Will be null if obj exists as obj is of the type accessing the descriptor.
      Returns:
      - the object defined for this descriptor for the given obj and type.
    • classmethod_descriptor___get__

      public PyObject classmethod_descriptor___get__(PyObject obj, PyObject type)
    • getDoc

      public String getDoc()
      Overrides:
      getDoc in class PyMethodDescr