Visitar URL original
gh-137235 : add `bytearray` as usable to `bytes.maketrans` and `bytearray.maketrans`. by XChaitanyaX · Pull Request #138255 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20250831123652/https://github.com/python/cpython/pull/138255
Skip to content

Conversation

XChaitanyaX
Copy link
Contributor

@XChaitanyaX XChaitanyaX commented Aug 30, 2025 •

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
@@ -3306,7 +3306,7 @@ arbitrary binary data.
.. staticmethod:: bytes.maketrans(from, to, /)
bytearray.maketrans(from, to, /)

This static method returns a translation table usable for
This static method returns a translation table usable for :meth:`bytearray.translate` or
Copy link
Member

Choose a reason for hiding this comment

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

Please wrap this line to 79 characters.

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.

3 participants