Skip to content

More elegant use of slice argument #407

@ajjackson

Description

@ajjackson
          There is a (little known) [`slice.indices`](https://docs.python.org/3/reference/datamodel.html#slice.indices) method for this.

Originally posted by @oerc0122 in #402 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions