Skip to content

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

@hyperkai

Description

@hyperkai

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

You can use the bytes.maketrans() method to create a translation table.

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

You can use the bytes.maketrans() and bytearray.maketrans() method to create a translation table.

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