| Modifier and Type | Field and Description |
|---|---|
| public PyType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __call__(PyObject[]
all arguments to the function. args)Overrides org. A variant of the __call__ method when no keywords are passed. |
| public PyObject | __call__(PyObject[]
all arguments to the function (including keyword arguments). args, String[] the keywords used for all keyword arguments. keywords)Overrides org. The basic method to override when implementing a callable object. |
| public PyBuiltinCallable | bind(PyObject self)
Overrides org. Returns a new instance of this type of PyBuiltinFunction bound to self |
| public PyType | |
| public abstract PyObject | |
| public boolean | refersDirectlyTo(PyObject ob)
Overrides org. Implements org. Optional operation. |
| public void | |
| public int | traverse(Visitproc visit, Object arg)
Overrides org. Implements org. Traverses all directly contained |
| for_type | back to summary |
|---|---|
| public PyType for_type | |
| PyNewWrapper | back to summary |
|---|---|
| public PyNewWrapper() Creates a wrapper without binding it to a type. setWrappedType must be called before this wrapper can be used. | |
| PyNewWrapper | back to summary |
|---|---|
| public PyNewWrapper(Class<T> c, String name, int minargs, int maxargs) | |
| PyNewWrapper | back to summary |
|---|---|
| public PyNewWrapper(PyType type, String name, int minargs, int maxargs) | |
| __call__ | back to summary |
|---|---|
| public PyObject __call__(PyObject[] args) Overrides org. Doc from org. A variant of the __call__ method when no keywords are passed. The default behavior is to
invoke
| |
| __call__ | back to summary |
|---|---|
| public PyObject __call__(PyObject[] args, String[] keywords) Overrides org. Doc from org. The basic method to override when implementing a callable object. The first len(args)-len(keywords) members of args[] are plain arguments. The last len(keywords) arguments are the values of the keyword arguments. | |
| bind | back to summary |
|---|---|
| public PyBuiltinCallable bind(PyObject self) Overrides org. Doc from org. Returns a new instance of this type of PyBuiltinFunction bound to self | |
| getWrappedType | back to summary |
|---|---|
| public PyType getWrappedType() | |
| new_impl | back to summary |
|---|---|
| public abstract PyObject new_impl(boolean init, PyType subtype, PyObject[] args, String[] keywords) | |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Overrides org. Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| setWrappedType | back to summary |
|---|---|
| public void setWrappedType(PyType type) | |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Overrides org. Implements org. Doc from org. Traverses all directly contained
| |