public interface assign_py
Creates a new reference to an object. Python equivalent: lhs = rhs
Do not forget to destroy lhs after use.
Module Procedures
private subroutine assign_py_object(lhs, rhs)
Equivalent to the following Python code: lhs = rhs
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
type(object), |
intent(out) |
|
| :: |
lhs | |
class(object), |
intent(in) |
|
| :: |
rhs | |
private subroutine assign_py_list(lhs, rhs)
Equivalent to the following Python code: lhs = rhs
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
type(list), |
intent(out) |
|
| :: |
lhs | |
class(list), |
intent(in) |
|
| :: |
rhs | |
private subroutine assign_py_tuple(lhs, rhs)
Equivalent to the following Python code: lhs = rhs
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
type(tuple), |
intent(out) |
|
| :: |
lhs | |
class(tuple), |
intent(in) |
|
| :: |
rhs | |
private subroutine assign_py_dict(lhs, rhs)
Equivalent to the following Python code: lhs = rhs
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
type(dict), |
intent(out) |
|
| :: |
lhs | |
class(dict), |
intent(in) |
|
| :: |
rhs | |
private subroutine assign_py_ndarray(lhs, rhs)
Equivalent to the following Python code: lhs = rhs
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
type(ndarray), |
intent(out) |
|
| :: |
lhs | |
class(ndarray), |
intent(in) |
|
| :: |
rhs | |
private subroutine assign_py_type_py(lhs, rhs)
Equivalent to the following Python code: lhs = rhs
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
type(type_py), |
intent(out) |
|
| :: |
lhs | |
class(type_py), |
intent(in) |
|
| :: |
rhs | |
private subroutine assign_py_module_py(lhs, rhs)
Equivalent to the following Python code: lhs = rhs
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
type(module_py), |
intent(out) |
|
| :: |
lhs | |
class(module_py), |
intent(in) |
|
| :: |
rhs | |
private subroutine assign_py_NoneType(lhs, rhs)
Equivalent to the following Python code: lhs = rhs
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
type(NoneType), |
intent(out) |
|
| :: |
lhs | |
class(NoneType), |
intent(in) |
|
| :: |
rhs | |