[Python-checkins] r81053 - python/trunk/Doc/library/stdtypes.rst

florent.xicluna python-checkins at python.org
Mon May 10 21:59:22 CEST 2010


Author: florent.xicluna
Date: Mon May 10 21:59:22 2010
New Revision: 81053

Log:
Add a link on maketrans().


Modified:
   python/trunk/Doc/library/stdtypes.rst

Modified: python/trunk/Doc/library/stdtypes.rst
==============================================================================
--- python/trunk/Doc/library/stdtypes.rst	(original)
+++ python/trunk/Doc/library/stdtypes.rst	Mon May 10 21:59:22 2010
@@ -1220,9 +1220,9 @@
    mapped through the given translation table, which must be a string of length
    256.
 
-   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 the :func:`~string.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:
 
       >>> 'read this short text'.translate(None, 'aeiou')
       'rd ths shrt txt'


More information about the Python-checkins mailing list