summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-23 06:52:59 (GMT)
committerGeorg Brandl <georg@python.org>2007-10-23 06:52:59 (GMT)
commit94c2c75b5eda49ccbb01778f9ab188fc1dbc1ca2 (patch)
tree15b115f65cc65c6837e02f05957ccece3b51c47b /Doc
parent3b8cb17695209c48bfc618ba265d201e81d1603a (diff)
downloadcpython-94c2c75b5eda49ccbb01778f9ab188fc1dbc1ca2.zip
cpython-94c2c75b5eda49ccbb01778f9ab188fc1dbc1ca2.tar.gz
cpython-94c2c75b5eda49ccbb01778f9ab188fc1dbc1ca2.tar.bz2
Patch #1071: Improve unicode.translate() so that you can pass unicode
characters as mapping keys and invalid mapping keys are recognized and raise an error.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 61b589f..06eb1cf 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -931,7 +931,7 @@ functions based on regular expressions.
Return a copy of the *s* where all characters have been mapped through the
*map* which must be a dictionary of characters (strings of length 1) or
Unicode ordinals (integers) to Unicode ordinals, strings or ``None``.
- Unmapped characters are left untouched. Characters mapped to ``None`` are
+ Unmapped characters are left untouched. Characters mapped to ``None`` are
deleted.
.. note::