[Python-checkins] r81053 - python/trunk/Doc/library/stdtypes.rst (original) (raw)
florent.xicluna python-checkins at python.org
Mon May 10 21:59:22 CEST 2010
- Previous message: [Python-checkins] r81052 - sandbox/trunk/curses/_cursesmodule.c
- Next message: [Python-checkins] r81054 - sandbox/trunk/curses/_cursesmodule.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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'
- Previous message: [Python-checkins] r81052 - sandbox/trunk/curses/_cursesmodule.c
- Next message: [Python-checkins] r81054 - sandbox/trunk/curses/_cursesmodule.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]