Commit 3dabc101 authored by Benjamin Peterson's avatar Benjamin Peterson

sys.setdefaultencoding() strikes me as a bad example

parent 2bb084e6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment