Top Fields Constructors Methods
org.python.core

public Class PyClassMethodDescr

extends PyMethodDescr
Class Inheritance
Annotations
@Untraversable
@ExposedType
name:classmethod_descriptor
isBaseType:false
Imports
org.python.expose.ExposedGet, .ExposedMethod, .ExposedType

Field Summary

Modifier and TypeField and Description
public static final PyType
Inherited from org.python.core.PyMethodDescr:
maxargsmethminargs

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public PyObject
__get__(PyObject
- the instance accessing this descriptor. Can be null if this is being accessed by a type.
obj
,
PyObject
- the type accessing this descriptor. Will be null if obj exists as obj is of the type accessing the descriptor.
type
)

Overrides org.python.core.PyMethodDescr.__get__.

Get descriptor for this PyObject.

public PyObject
public String
Inherited from org.python.core.PyMethodDescr:
__call__getMaxargsgetMinargsgetNamegetObjClassmethod_descriptor___call__method_descriptor___get__refersDirectlyTotoStringtraverseunexpectedCall

Field Detail

TYPEback to summary
public static final PyType TYPE

Hides org.python.core.PyObject.TYPE.

Constructor Detail

PyClassMethodDescrback to summary
pack-priv PyClassMethodDescr(PyType type, PyBuiltinCallable meth)

Method Detail

__get__back to summary
public PyObject __get__(PyObject obj, PyObject type)

Overrides org.python.core.PyMethodDescr.__get__.

Doc from org.python.core.PyObject.__get__.

Get descriptor for this PyObject.

Parameters
obj:PyObject

- the instance accessing this descriptor. Can be null if this is being accessed by a type.

type:PyObject

- the type accessing this descriptor. Will be null if obj exists as obj is of the type accessing the descriptor.

Returns:PyObject

- the object defined for this descriptor for the given obj and type.

Annotations
@Override

classmethod_descriptor___get__back to summary
public PyObject classmethod_descriptor___get__(PyObject obj, PyObject type)
Annotations
@ExposedMethod
defaults:null
getDocback to summary
public String getDoc()

Overrides org.python.core.PyMethodDescr.getDoc.

Annotations
@Override
@ExposedGet
name:__doc__