We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We don't have following weird stuff implemented:
>>> a = [1,2,3,4] >>> a[1:3] = [10,11,12,13] >>> a [1, 10, 11, 12, 13, 4] >>> del a[2:5] >>> a [1, 10, 4]
This first of all relevant for lists, but should watch out for other types too.
The text was updated successfully, but these errors were encountered:
...and this also works with the 3-parameter form of slicing (just tested in CPython3.4)
>>> a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] >>> a[-8:8:2] = ['a', 'b', 'c'] >>> a [0, 1, 'a', 3, 'b', 5, 'c', 7, 8, 9] >>> del a[-9:8:2] >>> a [0, 'a', 'b', 'c', 8, 9]
Sorry, something went wrong.
94d8246 starts to tackle this.
Implementation for lists is now pretty complete. Closing for now.
No branches or pull requests
We don't have following weird stuff implemented:
This first of all relevant for lists, but should watch out for other types too.
The text was updated successfully, but these errors were encountered: