Skip to content

Document or prevent flipping axes of slice targets #152

@thomasballinger

Description

@thomasballinger

@etiennerichart pointed out that strings can be flipped:

>>> from curtsies import fsarray
>>> arr = fsarray(['hello', 'there!'])
>>> arr[1:3, 3:4] = 'xx'
>>> arr.dumb_display()
hello
thexe!
   x

Is this intended? I want to say no.
arr[1:3, 3] = 'xx' also works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions