From: Raymond Hettinger Date: Wed, 1 Jul 2009 01:37:01 +0000 (+0000) Subject: Remove docs for string.maketrans(). X-Git-Tag: v3.2a1~2919 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c2331dbe4530ad479c31e04e7ff6697397193500;p=thirdparty%2FPython%2Fcpython.git Remove docs for string.maketrans(). --- diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 861dd1faa0cb..e8870211f98c 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -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.