Skip to content

Conversation

nachocab
Copy link
Contributor

@nachocab nachocab commented Jul 20, 2025

  • Replace str(StrEnum.member) with something that doesn't seem seem like member is a method of the StrEnum class.
  • Fix quoting/emphasis inconsistency and re-wrap the paragraph to 80 characters.
  • Add an illustrative example (to match IntEnum)

Fixes #136859


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

Nacho Caballero and others added 3 commits July 20, 2025 15:56
@ethanfurman ethanfurman added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jul 21, 2025
@ethanfurman ethanfurman merged commit 5f9e38f into python:main Jul 21, 2025
36 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jul 21, 2025
@miss-islington-app
Copy link

Thanks @nachocab for the PR, and @ethanfurman for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 21, 2025
(cherry picked from commit 5f9e38f)

Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Antonio Spadaro <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 21, 2025
(cherry picked from commit 5f9e38f)

Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Antonio Spadaro <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jul 21, 2025

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

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 21, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 21, 2025

GH-136937 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 Jul 21, 2025
hugovk pushed a commit that referenced this pull request Jul 22, 2025
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Antonio Spadaro <[email protected]>
hugovk pushed a commit that referenced this pull request Jul 22, 2025
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Antonio Spadaro <[email protected]>
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Antonio Spadaro <[email protected]>
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Antonio Spadaro <[email protected]>
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…hon#136936)

Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Antonio Spadaro <[email protected]>
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 sprint

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Improve StrEnum documentation

4 participants