View Source Pythonx.C.PyIndex (Pythonx v0.2.5)

PyIndex objects.

Summary

Functions

Returns true if o is an index integer (has the nb_index slot of the tp_as_number structure filled in), and false otherwise.

Functions

@spec check(PyObject.t()) :: boolean()

Returns true if o is an index integer (has the nb_index slot of the tp_as_number structure filled in), and false otherwise.

This function always succeeds.