summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-05-10 23:52:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-05-10 23:52:09 (GMT)
commit3dabc10134558b4d87e7988133fcbd91fc05f85e (patch)
tree0f162dd2db751043ea4857d8b35fe93b45d06b06 /Doc/library
parent2bb084e643dc423b8f3efb37e0136ae24e530c02 (diff)
downloadcpython-3dabc10134558b4d87e7988133fcbd91fc05f85e.zip
cpython-3dabc10134558b4d87e7988133fcbd91fc05f85e.tar.gz
cpython-3dabc10134558b4d87e7988133fcbd91fc05f85e.tar.bz2
sys.setdefaultencoding() strikes me as a bad example
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/exceptions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index a50ffbf..0b4c668 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -84,9 +84,9 @@ The following exceptions are only used as base classes for other exceptions.
.. exception:: LookupError
- The base class for the exceptions that are raised when a key or index used on a
- mapping or sequence is invalid: :exc:`IndexError`, :exc:`KeyError`. This can be
- raised directly by :func:`sys.setdefaultencoding`.
+ The base class for the exceptions that are raised when a key or index used on
+ a mapping or sequence is invalid: :exc:`IndexError`, :exc:`KeyError`. This
+ can be raised directly by :func:`codecs.lookup`.
.. exception:: EnvironmentError