Skip to content

Document PyArray_GETITEM / PySequence_GetItem discrepancy #10966

@pitrou

Description

@pitrou

Even for 1-D Arrays, PyArray_GETITEM returns something different from PySequence_GetItem: PyArray_GETITEM returns standard Python types while PySequence_GetItem returns the corresponding Numpy scalar types. This should be documented to avoid confusion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions