Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
simpleigh opened this issue Apr 9, 2015 · 0 comments

Comments

@simpleigh
Copy link
Member

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?

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

No branches or pull requests

1 participant