Skip to content

Conversation

Nick1200000
Copy link

@Nick1200000 Nick1200000 commented Jul 31, 2025

This PR fixes a minor wording issue in the documentation of bytes.isalnum() and bytearray.isalnum() in Doc/library/stdtypes.rst.

Changes:

  • Replaced "alphabetical" with "alphabetic"
  • Changed "or" to "and/or" to more accurately reflect the actual behavior of these methods

These methods return True when all bytes are alphabetic ASCII characters and/or digits, so the updated wording improves clarity and correctness.


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

@Nick1200000
Copy link
Author

Hi @AA-Turner , i just checked the issue section, it's not resolved, can i open my PR once again for the review , Thanks

@AA-Turner
Copy link
Member

See #137267 (comment).

A

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

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants