[Python-checkins] cpython (3.2): Fix a bunch of "versionchanged" related markup errors.

georg.brandl python-checkins at python.org
Sun Jun 24 22:50:40 CEST 2012


http://hg.python.org/cpython/rev/2064beae3fac
changeset:   77752:2064beae3fac
branch:      3.2
parent:      77738:0228129533c9
user:        Georg Brandl <georg at python.org>
date:        Sun Jun 24 22:48:03 2012 +0200
summary:
  Fix a bunch of "versionchanged" related markup errors.

files:
  Doc/library/mailbox.rst        |  3 ++-
  Doc/library/urllib.request.rst |  7 +++----
  Doc/reference/simple_stmts.rst |  1 -
  3 files changed, 5 insertions(+), 6 deletions(-)


diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst
--- a/Doc/library/mailbox.rst
+++ b/Doc/library/mailbox.rst
@@ -89,7 +89,8 @@
       format-specific information is used. Otherwise, reasonable defaults for
       format-specific information are used.
 
-      .. versionchanged:: 3.2 support for binary input
+      .. versionchanged:: 3.2
+         Support for binary input was added.
 
 
    .. method:: remove(key)
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -902,10 +902,9 @@
    Open the file locally, if there is no host name, or the host name is
    ``'localhost'``.
 
-   This method is applicable only for local hostnames. When a remote hostname
-   is given, an :exc:`URLError` is raised.
-
-.. versionchanged:: 3.2
+   .. versionchanged:: 3.2
+      This method is applicable only for local hostnames.  When a remote
+      hostname is given, an :exc:`URLError` is raised.
 
 
 .. _ftp-handler-objects:
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -393,7 +393,6 @@
 the sliced object).
 
 .. versionchanged:: 3.2
-
    Previously it was illegal to delete a name from the local namespace if it
    occurs as a free variable in a nested block.
 

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


More information about the Python-checkins mailing list