Skip to content

Move __missing__ after __delitem__ in Data model #10923

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

Merged
merged 2 commits into from
Dec 5, 2018

Conversation

andresdelfino
Copy link
Contributor

@andresdelfino andresdelfino commented Dec 5, 2018

Doc says "Slicing is done exclusively with the following three methods", and it was correct until b67f6e2 . Since then, it documents __missing__ between __getitem__ and __setitem__.

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move also .. index:: object: slice before .. note::.

@andresdelfino
Copy link
Contributor Author

@serhiy-storchaka I agree with your suggestion.

@serhiy-storchaka serhiy-storchaka merged commit 1ce853f into python:master Dec 5, 2018
@miss-islington
Copy link
Contributor

Thanks @andresdelfino for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 5, 2018
(cherry picked from commit 1ce853f)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
@bedevere-bot
Copy link

GH-10938 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 5, 2018
(cherry picked from commit 1ce853f)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
@bedevere-bot
Copy link

GH-10939 is a backport of this pull request to the 3.6 branch.

@miss-islington
Copy link
Contributor

Sorry, @andresdelfino and @serhiy-storchaka, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 1ce853f37783575e2b3aaa159ddcebc8660830ef 2.7

@andresdelfino andresdelfino deleted the data-model-slicing branch December 5, 2018 19:51
miss-islington added a commit that referenced this pull request Dec 5, 2018
(cherry picked from commit 1ce853f)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
miss-islington added a commit that referenced this pull request Dec 5, 2018
(cherry picked from commit 1ce853f)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
@bedevere-bot
Copy link

GH-10944 is a backport of this pull request to the 2.7 branch.

serhiy-storchaka pushed a commit that referenced this pull request Dec 5, 2018
…H-10944)

(cherry picked from commit 1ce853f)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
@serhiy-storchaka serhiy-storchaka removed their assignment Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants