Skip to content

Ensure mutable sequence implementations include all appropriate methods and operators #3

Description

@simpleigh

Ensure we're following the following guidelines in the Python language specification:

Mutable sequences should provide methods append(), count(), index(), extend(), insert(), pop(), remove(), reverse() and sort(), like Python standard list objects. Finally, sequence types should implement addition (meaning concatenation) and multiplication (meaning repetition) by defining the methods add(), radd(), iadd(), mul(), rmul() and imul() described below; they should not define other numerical operators

Are there appropriate methods or operators that we ought to implement on types within the library?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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