[Python-checkins] cpython: Fix rst markup.

ezio.melotti python-checkins at python.org
Thu Sep 20 07:34:07 CEST 2012


http://hg.python.org/cpython/rev/0cd29947ba15
changeset:   79056:0cd29947ba15
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Thu Sep 20 08:33:53 2012 +0300
summary:
  Fix rst markup.

files:
  Doc/c-api/import.rst |  2 +-
  Doc/whatsnew/3.3.rst |  6 +++---
  2 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst
--- a/Doc/c-api/import.rst
+++ b/Doc/c-api/import.rst
@@ -76,7 +76,7 @@
    UTF-8 encoded string instead of a Unicode object.
 
    .. versionchanged:: 3.3
-         Negative values for **level** are no longer accepted.
+         Negative values for *level* are no longer accepted.
 
 .. c:function:: PyObject* PyImport_Import(PyObject *name)
 
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -1928,7 +1928,7 @@
   updated to use the full name of the module instead of just the tail of the
   name.
 
-* The **index** argument to :func:`__import__` now defaults to 0 instead of -1
+* The *index* argument to :func:`__import__` now defaults to 0 instead of -1
   and no longer support negative values. It was an oversight when :pep:`328` was
   implemented that the default value remained -1. If you need to continue to
   perform a relative import followed by an absolute import, then perform the
@@ -1996,9 +1996,9 @@
 
 * :c:func:`PyImport_GetMagicNumber` now returns -1 upon failure.
 
-* As a negative value for the **level** argument to :func:`__import__` is no
+* As a negative value for the *level* argument to :func:`__import__` is no
   longer valid, the same now holds for :c:func:`PyImport_ImportModuleLevel`.
-  This also means that the value of **level** used by
+  This also means that the value of *level* used by
   :c:func:`PyImport_ImportModuleEx` is now 0 instead of -1.
 
 

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


More information about the Python-checkins mailing list