mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
sys.setdefaultencoding() strikes me as a bad example
This commit is contained in:
parent
2bb084e643
commit
3dabc10134
1 changed files with 3 additions and 3 deletions
|
@ -84,9 +84,9 @@ The following exceptions are only used as base classes for other exceptions.
|
||||||
|
|
||||||
.. exception:: LookupError
|
.. exception:: LookupError
|
||||||
|
|
||||||
The base class for the exceptions that are raised when a key or index used on a
|
The base class for the exceptions that are raised when a key or index used on
|
||||||
mapping or sequence is invalid: :exc:`IndexError`, :exc:`KeyError`. This can be
|
a mapping or sequence is invalid: :exc:`IndexError`, :exc:`KeyError`. This
|
||||||
raised directly by :func:`sys.setdefaultencoding`.
|
can be raised directly by :func:`codecs.lookup`.
|
||||||
|
|
||||||
|
|
||||||
.. exception:: EnvironmentError
|
.. exception:: EnvironmentError
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue