Derived Types

TypeLocationExtendsDescription
bytesforpy_modImmutableSequence

Type corresponding to Python 'bytes'.

dictforpy_modMapping
ImmutableSequenceforpy_modSequence

Abstract type that represents a sequence, whose items can not be changed.

listforpy_modMutableSequence

Type that corresponds to a Python list.

Mappingforpy_modobject

Abstract type that represents a datastructure that maps keys to values.

module_pyforpy_modobject

Type representing a Python module

MutableSequenceforpy_modSequence

Abstract type that represents a sequence, whose items can be changed.

ndarrayforpy_modobject

Type that represents a Numpy array

NoneTypeforpy_modobject

Type representing Python's 'None'. Create with NoneType_create.

objectforpy_modNone

Type to represent an arbitrary Python object

PythonMethodTableforpy_modNone

Only used for writing Python extension modules. Datastructure to hold table of methods of your Python extension module. Put exactly one instance at Fortran module level.

PythonModuleforpy_modNone

Only used for writing Python extension modules. Datastructure to hold information about your Python extension module. Put exactly one instance at Fortran module level.

Sequenceforpy_modobject

Abstract type that represents sequence objects. Elements of a sequence can be accessed by an index.

strforpy_modImmutableSequence

Type corresponding to Python 'str' - Python's string type.

tupleforpy_modImmutableSequence

Type that corresponds to a Python tuple. Create with tuple_create.

type_pyforpy_modobject

Type that represents a "class object". In Python class objects have the type 'type' which we name type_py here.

unicodeforpy_modImmutableSequence

Type corresponding to Python 2 'unicode' or Python 3 'str'.