summaryrefslogtreecommitdiff
path: root/Doc/library/stdtypes.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-23 06:52:59 +0000
committerGeorg Brandl <georg@python.org>2007-10-23 06:52:59 +0000
commit8a28ec41250aab4d1096fae207911fa89bb72b34 (patch)
tree0c512a53a861996848493b78a209b8b0e34371a3 /Doc/library/stdtypes.rst
parent94f56521a56d097a69d4d684fd5f914500c6ae6d (diff)
downloadcpython-8a28ec41250aab4d1096fae207911fa89bb72b34.tar.gz
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/library/stdtypes.rst')
-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 61b589f3d9..06eb1cfda0 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::