Skip to content

gh-134789: Document del s[i] operation for mutable sequences #134804

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
May 27, 2025

Conversation

rishabh11336
Copy link
Contributor

@rishabh11336 rishabh11336 commented May 27, 2025

  • Added explicit mention of del s[i] (item deletion by index) to the Mutable Sequence Types section.
  • Clarified that this operation removes the item at the specified index from the sequence.

📚 Documentation preview 📚: https://cpython-previews--134804.org.readthedocs.build/

- Added explicit mention of `del s[i]` (item deletion by index) to the Mutable Sequence Types section.
- Clarified that this operation removes the item at the specified index from the sequence.
- Addresses issue python#134789.
@bedevere-app bedevere-app bot added awaiting review docs Documentation in the Doc dir skip news labels May 27, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs May 27, 2025
@merwok merwok changed the title [main] gh-134789: Document del s[i] operation for mutable sequences gh-134789: Document del s[i] operation for mutable sequences May 27, 2025
@merwok merwok added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels May 27, 2025
@nedbat nedbat merged commit 967f361 into python:main May 27, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs May 27, 2025
@miss-islington-app
Copy link

Thanks @rishabh11336 for the PR, and @nedbat for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 27, 2025
…ythonGH-134804)

[main] Update stdtypes.rst

- Added explicit mention of `del s[i]` (item deletion by index) to the Mutable Sequence Types section.
- Clarified that this operation removes the item at the specified index from the sequence.
- Addresses issue pythonGH-134789.
(cherry picked from commit 967f361)

Co-authored-by: Rishabh Singh <67859818+rishabh11336@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented May 27, 2025

GH-134808 is a backport of this pull request to the 3.14 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 27, 2025
…ythonGH-134804)

[main] Update stdtypes.rst

- Added explicit mention of `del s[i]` (item deletion by index) to the Mutable Sequence Types section.
- Clarified that this operation removes the item at the specified index from the sequence.
- Addresses issue pythonGH-134789.
(cherry picked from commit 967f361)

Co-authored-by: Rishabh Singh <67859818+rishabh11336@users.noreply.github.com>
@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 27, 2025
@bedevere-app
Copy link

bedevere-app bot commented May 27, 2025

GH-134809 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label May 27, 2025
nedbat pushed a commit that referenced this pull request May 27, 2025
…H-134804) (#134808)

gh-134789: Document del s[i] operation for mutable sequences (GH-134804)

[main] Update stdtypes.rst

- Added explicit mention of `del s[i]` (item deletion by index) to the Mutable Sequence Types section.
- Clarified that this operation removes the item at the specified index from the sequence.
- Addresses issue GH-134789.
(cherry picked from commit 967f361)

Co-authored-by: Rishabh Singh <67859818+rishabh11336@users.noreply.github.com>
nedbat pushed a commit that referenced this pull request May 27, 2025
…H-134804) (#134809)

gh-134789: Document del s[i] operation for mutable sequences (GH-134804)

[main] Update stdtypes.rst

- Added explicit mention of `del s[i]` (item deletion by index) to the Mutable Sequence Types section.
- Clarified that this operation removes the item at the specified index from the sequence.
- Addresses issue GH-134789.
(cherry picked from commit 967f361)

Co-authored-by: Rishabh Singh <67859818+rishabh11336@users.noreply.github.com>
@rishabh11336
Copy link
Contributor Author

Thank you, @nedbat, for merging the requests!
I appreciate your prompt review and support.🤗

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 news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants