[Python-checkins] cpython (3.3): Fix indentation (or Sphinx will think these are attributes of ConnectionError).

ezio.melotti python-checkins at python.org
Sun Oct 21 02:23:02 CEST 2012


http://hg.python.org/cpython/rev/deacfff86da5
changeset:   79860:deacfff86da5
branch:      3.3
parent:      79857:85c4d21f7454
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Sun Oct 21 03:22:05 2012 +0300
summary:
  Fix indentation (or Sphinx will think these are attributes of ConnectionError).

files:
  Doc/library/exceptions.rst |  39 +++++++++++++------------
  1 files changed, 20 insertions(+), 19 deletions(-)


diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -449,34 +449,35 @@
 
 .. 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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list