org.python.core
public class PyMethodDescr extends PyDescriptor implements PyBuiltinFunction.Info
| Constructor Summary | |
|---|---|
| PyMethodDescr(String name, Class c, int minargs, int maxargs, PyBuiltinFunction func) | |
| Method Summary | |
|---|---|
| int | getMaxargs() |
| int | getMinargs() |
| String | getName() |
| String | toString() |
| PyException | unexpectedCall(int nargs, boolean keywords) |
| PyObject | __call__(PyObject[] args) |
| PyObject | __call__(PyObject[] args, String[] kwargs) |
| PyObject | __get__(PyObject obj, PyObject type) |