| Modifier and Type | Field and Description |
|---|---|
| private PyObject | __dict__
Lazily created dict for extra attributes. |
| public PyObject[] | args
Callable's args. |
| public PyObject | func
The wrapped callable. |
| private String[] | keywords
Callable's keywords. |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 void | __setattr__(String
the name whose value will be set - must be an interned string . name, PyObject the value to set this name to value)Overrides org. A variant of the __setattr__ method which accepts a String as the key. |
| private void | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public static PyObject | partial___new__(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
|
| pack-priv final void | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public void | |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| __dict__ | back to summary |
|---|---|
| private PyObject __dict__ Lazily created dict for extra attributes. | |
| args | back to summary |
|---|---|
| public PyObject[] args Callable's args. | |
| func | back to summary |
|---|---|
| public PyObject func The wrapped callable. | |
| keywords | back to summary |
|---|---|
| private String[] keywords Callable's keywords. | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| PyPartial | back to summary |
|---|---|
| public PyPartial() | |
| PyPartial | back to summary |
|---|---|
| public PyPartial(PyType subType) | |
| __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.
| |
| __setattr__ | back to summary |
|---|---|
| public void __setattr__(String name, PyObject value) Overrides org. Doc from org. A variant of the __setattr__ method which accepts a String as the key. This String must be interned.
| |
| ensureDict | back to summary |
|---|---|
| private void ensureDict() | |
| fastGetDict | back to summary |
|---|---|
| public PyObject fastGetDict() Overrides org. Doc from org. xxx implements where meaningful | |
| getArgs | back to summary |
|---|---|
public PyObject getArgs()
| |
| getDict | back to summary |
|---|---|
| public PyObject getDict() Overrides org. Doc from org. xxx implements where meaningful
| |
| getKeywords | back to summary |
|---|---|
public PyObject getKeywords()
| |
| partial___call__ | back to summary |
|---|---|
public PyObject partial___call__(PyObject[] args, String[] keywords)
| |
| partial___new__ | back to summary |
|---|---|
public static PyObject partial___new__(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
| |
| partial___setattr__ | back to summary |
|---|---|
pack-priv final void partial___setattr__(String name, PyObject value)
| |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| setDict | back to summary |
|---|---|
| public void setDict(PyObject val) Overrides org.
| |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |