]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove docs for string.maketrans().
authorRaymond Hettinger <python@rcn.com>
Wed, 1 Jul 2009 01:37:01 +0000 (01:37 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 1 Jul 2009 01:37:01 +0000 (01:37 +0000)
Doc/library/string.rst

index 861dd1faa0cb9b2eb49f25f379005423bbab3e10..e8870211f98ce6c928d5ded1b45c522dbe1db599 100644 (file)
@@ -567,12 +567,3 @@ Helper functions
    that this replaces runs of whitespace characters by a single space, and removes
    leading and trailing whitespace.
 
-
-.. function:: maketrans(frm, to)
-
-   Return a translation table suitable for passing to :meth:`bytes.translate`,
-   that will map each character in *from* into the character at the same
-   position in *to*; *from* and *to* must have the same length.
-
-   .. deprecated:: 3.1
-      Use the :meth:`bytes.maketrans` static method instead.