From 638b869004d30dcea51fd629ff6fa180869e7641 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Mon, 10 May 2010 19:59:22 +0000 Subject: [PATCH] Add a link on maketrans(). --- Doc/library/stdtypes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 20354fad0b..1f440160fa 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' -- 2.50.1