From: Florent Xicluna Date: Mon, 10 May 2010 19:59:22 +0000 (+0000) Subject: Add a link on maketrans(). X-Git-Tag: v2.7rc1~188 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=638b869004d30dcea51fd629ff6fa180869e7641;p=thirdparty%2FPython%2Fcpython.git Add a link on maketrans(). --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 20354fad0b8e..1f440160fa74 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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'