]> granicus.if.org Git - python/commitdiff
Add a link on maketrans().
authorFlorent Xicluna <florent.xicluna@gmail.com>
Mon, 10 May 2010 19:59:22 +0000 (19:59 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Mon, 10 May 2010 19:59:22 +0000 (19:59 +0000)
Doc/library/stdtypes.rst

index 20354fad0b8e5a73725b3cd8b9dac3942e9484b2..1f440160fa74318905d9329f1d84c75a04c05a97 100644 (file)
@@ -1220,9 +1220,9 @@ string functions based on regular expressions.
    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'