]> granicus.if.org Git - python/commitdiff
Fix rst markup.
authorEzio Melotti <ezio.melotti@gmail.com>
Thu, 20 Sep 2012 05:33:53 +0000 (08:33 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Thu, 20 Sep 2012 05:33:53 +0000 (08:33 +0300)
Doc/c-api/import.rst
Doc/whatsnew/3.3.rst

index c3c8f42cf0191d28718241c20238839d69cad1b8..270152ebbe742b6687256a32c0af5d30696e6f37 100644 (file)
@@ -76,7 +76,7 @@ Importing Modules
    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)
 
index 2aa41f916e212f3e69b88a5b8279f09e9aa26c88..7d7747299d2c6860bfd4777eed76b63ef213274e 100644 (file)
@@ -1928,7 +1928,7 @@ Porting Python code
   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 @@ Porting C code
 
 * :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.