diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-06-06 23:38:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-06 23:38:41 (GMT) |
commit | de76c07a8cd0216c3dce215e4d542e2f45aa022f (patch) | |
tree | 10c1605c919fa3971ea569d79edf3d258477694e | |
parent | dc2476500d91082f0c907772c83a044bf49af279 (diff) | |
download | cpython-de76c07a8cd0216c3dce215e4d542e2f45aa022f.zip cpython-de76c07a8cd0216c3dce215e4d542e2f45aa022f.tar.gz cpython-de76c07a8cd0216c3dce215e4d542e2f45aa022f.tar.bz2 |
bpo-37134: Add PEP570 notation to the signature of byte{array}.translate (GH-13874)
-rw-r--r-- | Doc/library/stdtypes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index fcb0da7..35a17a1 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2736,8 +2736,8 @@ arbitrary binary data. The prefix(es) to search for may be any :term:`bytes-like object`. -.. method:: bytes.translate(table, delete=b'') - bytearray.translate(table, delete=b'') +.. method:: bytes.translate(table, /, delete=b'') + bytearray.translate(table, /, delete=b'') Return a copy of the bytes or bytearray object where all bytes occurring in the optional argument *delete* are removed, and the remaining bytes have |