[Python-checkins] r73732 - python/branches/py3k/Doc/library/string.rst

raymond.hettinger python-checkins at python.org
Wed Jul 1 03:37:01 CEST 2009


Author: raymond.hettinger
Date: Wed Jul  1 03:37:01 2009
New Revision: 73732

Log:
Remove docs for string.maketrans().

Modified:
   python/branches/py3k/Doc/library/string.rst

Modified: python/branches/py3k/Doc/library/string.rst
==============================================================================
--- python/branches/py3k/Doc/library/string.rst	(original)
+++ python/branches/py3k/Doc/library/string.rst	Wed Jul  1 03:37:01 2009
@@ -567,12 +567,3 @@
    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.


More information about the Python-checkins mailing list