[Python-checkins] r67724 - python/branches/py3k/Doc/library/stdtypes.rst
benjamin.peterson
python-checkins at python.org
Sat Dec 13 04:03:41 CET 2008
Author: benjamin.peterson
Date: Sat Dec 13 04:03:41 2008
New Revision: 67724
Log:
string.maketrans -> str.maketrans
Modified:
python/branches/py3k/Doc/library/stdtypes.rst
Modified: python/branches/py3k/Doc/library/stdtypes.rst
==============================================================================
--- python/branches/py3k/Doc/library/stdtypes.rst (original)
+++ python/branches/py3k/Doc/library/stdtypes.rst Sat Dec 13 04:03:41 2008
@@ -1090,12 +1090,9 @@
ordinals, strings or ``None``. Unmapped characters are left untouched.
Characters mapped to ``None`` are deleted.
- A *map* for :meth:`translate` is usually best created by
- :meth:`str.maketrans`.
-
- You can use the :func:`maketrans` helper function in the :mod:`string` module to
- create a translation table. For string objects, set the *table* argument to
- ``None`` for translations that only delete characters:
+ You can use :meth:`str.maketrans` to create a translation table. For string
+ objects, set the *table* argument to ``None`` for translations that only
+ delete characters:
.. note::
More information about the Python-checkins
mailing list