]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate
authorGeorg Brandl <georg@python.org>
Sun, 12 Apr 2009 15:51:51 +0000 (15:51 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 12 Apr 2009 15:51:51 +0000 (15:51 +0000)
commitabc387747dc573e05a4b31387797a0272062b2ef
treec12c0a0e45cb06edb87798a7831b1c8f79033015
parent78532baeabc4234e3894c775f2bb7e0a21c12e0e
Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate
string.maketrans() which actually works on bytes.  (Also closes #5675.)
Doc/library/stdtypes.rst
Doc/library/string.rst
Include/bytes_methods.h
Lib/string.py
Lib/test/test_bigmem.py
Lib/test/test_bytes.py
Lib/test/test_string.py
Misc/NEWS
Objects/bytearrayobject.c
Objects/bytes_methods.c
Objects/bytesobject.c