Argument

Defines a single Argument for a C-level caller to support default values, etc.

Properties and Methods

type_map: dict
inverse_type_map: dict
infer_type: method
infer_array_type: method
inferred_type_string: method

 

__init__(self, name, dtype, default=None, pointer_type=None, array_type=None): 
  • name: str

    the name of the argument

  • dtype: Any

    the type of the argument

  • default: Any

    the default value for the argument

Examples


Edit Examples or Create New Examples
Edit Template or Create New Template
Edit Docstrings