| Modifier and Type | Class and Description |
|---|---|
| public static class | PyObjectUtil.NoConversion
The type of exception thrown when an attempt to convert an object to a common data type fails. |
| Modifier and Type | Field and Description |
|---|---|
| public static final PyObjectUtil. | NO_CONVERSION
A statically allocated |
| public static final StopIteration | STOP_ITERATION
A statically allocated |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | Returns: a name forfuncthe function func)Produce a |
| pack-priv static String | |
| pack-priv static String |
| NO_CONVERSION | back to summary |
|---|---|
| public static final PyObjectUtil. A statically allocated | |
| STOP_ITERATION | back to summary |
|---|---|
| public static final StopIteration STOP_ITERATION A statically allocated | |
| PyObjectUtil | back to summary |
|---|---|
| private PyObjectUtil() | |
| functionStr | back to summary |
|---|---|
| pack-priv static String functionStr(Object func) Produce a
def functionStr(func):
try:
qualname = func.__qualname__
except AttributeError:
return str(func)
try:
module = func.__module__
if module is not None and mod != 'builtins':
return ".".join(module, qualname)
except AttributeError:
pass
return qualname
This differs from its CPython counterpart
_PyObject_FunctionStr by decisively not adding
parentheses.
| |
| mapRepr | back to summary |
|---|---|
| pack-priv static String mapRepr(Map<? extends Object, ?> map) throws Throwable An implementation of | |
| toAt | back to summary |
|---|---|
| pack-priv static String toAt(Object o) A string along the lines "T object at 0xhhh", where T is the type
of | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NoConversion | back to summary |
|---|---|
| private NoConversion() | |