summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-10-21 00:22:05 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-10-21 00:22:05 (GMT)
commitb24d3cf769e242c14facc99a27798f2e44bde5c6 (patch)
tree5fd88f337cf373626e52247f9bda6bbd80cc2836 /Doc
parentd2cc1bb057ed113b4205fedc4f6a7837ee0f24fd (diff)
downloadcpython-b24d3cf769e242c14facc99a27798f2e44bde5c6.zip
cpython-b24d3cf769e242c14facc99a27798f2e44bde5c6.tar.gz
cpython-b24d3cf769e242c14facc99a27798f2e44bde5c6.tar.bz2
Fix indentation (or Sphinx will think these are attributes of ConnectionError).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/exceptions.rst39
1 files changed, 20 insertions, 19 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index ac02215..053ba56 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -449,34 +449,35 @@ depending on the system error code.
.. exception:: ConnectionError
- A base class for connection-related issues. Subclasses are
- :exc:`BrokenPipeError`, :exc:`ConnectionAbortedError`,
+ A base class for connection-related issues.
+
+ Subclasses are :exc:`BrokenPipeError`, :exc:`ConnectionAbortedError`,
:exc:`ConnectionRefusedError` and :exc:`ConnectionResetError`.
- .. exception:: BrokenPipeError
+.. exception:: BrokenPipeError
- 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
- which has been shutdown for writing.
- Corresponds to :c:data:`errno` ``EPIPE`` and ``ESHUTDOWN``.
+ 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
+ which has been shutdown for writing.
+ Corresponds to :c:data:`errno` ``EPIPE`` and ``ESHUTDOWN``.
- .. exception:: ConnectionAbortedError
+.. exception:: ConnectionAbortedError
- A subclass of :exc:`ConnectionError`, raised when a connection attempt
- is aborted by the peer.
- Corresponds to :c:data:`errno` ``ECONNABORTED``.
+ A subclass of :exc:`ConnectionError`, raised when a connection attempt
+ is aborted by the peer.
+ Corresponds to :c:data:`errno` ``ECONNABORTED``.
- .. exception:: ConnectionRefusedError
+.. exception:: ConnectionRefusedError
- A subclass of :exc:`ConnectionError`, raised when a connection attempt
- is refused by the peer.
- Corresponds to :c:data:`errno` ``ECONNREFUSED``.
+ A subclass of :exc:`ConnectionError`, raised when a connection attempt
+ is refused by the peer.
+ Corresponds to :c:data:`errno` ``ECONNREFUSED``.
- .. exception:: ConnectionResetError
+.. exception:: ConnectionResetError
- A subclass of :exc:`ConnectionError`, raised when a connection is
- reset by the peer.
- Corresponds to :c:data:`errno` ``ECONNRESET``.
+ A subclass of :exc:`ConnectionError`, raised when a connection is
+ reset by the peer.
+ Corresponds to :c:data:`errno` ``ECONNRESET``.
.. exception:: FileExistsError