Skip to content

The doc of bytes.maketrans() and bytearray.maketrans() should also say bytearray.translate() #137235

@hyperkai

Description

@hyperkai

The doc of bytes.maketrans() and bytearray.maketrans() says only bytes.translate() as shown below even though bytearray.translate() also works:

This static method returns a translation table usable for bytes.translate() that will map each character ...

So, the doc of bytes.maketrans() and bytearray.maketrans() should also say bytearray.translate() as shown below:

This static method returns a translation table usable for bytes.translate() and bytearray.translate() that will map each character ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions