summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-07-01 01:37:01 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-07-01 01:37:01 (GMT)
commitc2331dbe4530ad479c31e04e7ff6697397193500 (patch)
treec85dacae4426ae3f09c6093a17319d7c531f6cb9
parent9c4d0edd645764844b53fc634fb11a9bf4683e87 (diff)
downloadcpython-c2331dbe4530ad479c31e04e7ff6697397193500.zip
cpython-c2331dbe4530ad479c31e04e7ff6697397193500.tar.gz
cpython-c2331dbe4530ad479c31e04e7ff6697397193500.tar.bz2
Remove docs for string.maketrans().
-rw-r--r--Doc/library/string.rst9
1 files changed, 0 insertions, 9 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 861dd1f..e887021 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.