mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Fix indentation (or Sphinx will think these are attributes of ConnectionError).
This commit is contained in:
parent
d2cc1bb057
commit
b24d3cf769
1 changed files with 20 additions and 19 deletions
|
|
@ -449,34 +449,35 @@ depending on the system error code.
|
||||||
|
|
||||||
.. exception:: ConnectionError
|
.. exception:: ConnectionError
|
||||||
|
|
||||||
A base class for connection-related issues. Subclasses are
|
A base class for connection-related issues.
|
||||||
:exc:`BrokenPipeError`, :exc:`ConnectionAbortedError`,
|
|
||||||
|
Subclasses are :exc:`BrokenPipeError`, :exc:`ConnectionAbortedError`,
|
||||||
:exc:`ConnectionRefusedError` and :exc:`ConnectionResetError`.
|
:exc:`ConnectionRefusedError` and :exc:`ConnectionResetError`.
|
||||||
|
|
||||||
.. exception:: BrokenPipeError
|
.. exception:: BrokenPipeError
|
||||||
|
|
||||||
A subclass of :exc:`ConnectionError`, raised when trying to write on a
|
A subclass of :exc:`ConnectionError`, raised when trying to write on a
|
||||||
pipe while the other end has been closed, or trying to write on a socket
|
pipe while the other end has been closed, or trying to write on a socket
|
||||||
which has been shutdown for writing.
|
which has been shutdown for writing.
|
||||||
Corresponds to :c:data:`errno` ``EPIPE`` and ``ESHUTDOWN``.
|
Corresponds to :c:data:`errno` ``EPIPE`` and ``ESHUTDOWN``.
|
||||||
|
|
||||||
.. exception:: ConnectionAbortedError
|
.. exception:: ConnectionAbortedError
|
||||||
|
|
||||||
A subclass of :exc:`ConnectionError`, raised when a connection attempt
|
A subclass of :exc:`ConnectionError`, raised when a connection attempt
|
||||||
is aborted by the peer.
|
is aborted by the peer.
|
||||||
Corresponds to :c:data:`errno` ``ECONNABORTED``.
|
Corresponds to :c:data:`errno` ``ECONNABORTED``.
|
||||||
|
|
||||||
.. exception:: ConnectionRefusedError
|
.. exception:: ConnectionRefusedError
|
||||||
|
|
||||||
A subclass of :exc:`ConnectionError`, raised when a connection attempt
|
A subclass of :exc:`ConnectionError`, raised when a connection attempt
|
||||||
is refused by the peer.
|
is refused by the peer.
|
||||||
Corresponds to :c:data:`errno` ``ECONNREFUSED``.
|
Corresponds to :c:data:`errno` ``ECONNREFUSED``.
|
||||||
|
|
||||||
.. exception:: ConnectionResetError
|
.. exception:: ConnectionResetError
|
||||||
|
|
||||||
A subclass of :exc:`ConnectionError`, raised when a connection is
|
A subclass of :exc:`ConnectionError`, raised when a connection is
|
||||||
reset by the peer.
|
reset by the peer.
|
||||||
Corresponds to :c:data:`errno` ``ECONNRESET``.
|
Corresponds to :c:data:`errno` ``ECONNRESET``.
|
||||||
|
|
||||||
.. exception:: FileExistsError
|
.. exception:: FileExistsError
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue