Skip to content

Commit 7598e18

Browse files
committed
Fix rst markup.
1 parent f6813f6 commit 7598e18

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/c-api/import.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Importing Modules
7676
UTF-8 encoded string instead of a Unicode object.
7777
7878
.. versionchanged:: 3.3
79-
Negative values for **level** are no longer accepted.
79+
Negative values for *level* are no longer accepted.
8080
8181
.. c:function:: PyObject* PyImport_Import(PyObject *name)
8282

Doc/whatsnew/3.3.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,7 +1928,7 @@ Porting Python code
19281928
updated to use the full name of the module instead of just the tail of the
19291929
name.
19301930

1931-
* The **index** argument to :func:`__import__` now defaults to 0 instead of -1
1931+
* The *index* argument to :func:`__import__` now defaults to 0 instead of -1
19321932
and no longer support negative values. It was an oversight when :pep:`328` was
19331933
implemented that the default value remained -1. If you need to continue to
19341934
perform a relative import followed by an absolute import, then perform the
@@ -1996,9 +1996,9 @@ Porting C code
19961996

19971997
* :c:func:`PyImport_GetMagicNumber` now returns -1 upon failure.
19981998

1999-
* As a negative value for the **level** argument to :func:`__import__` is no
1999+
* As a negative value for the *level* argument to :func:`__import__` is no
20002000
longer valid, the same now holds for :c:func:`PyImport_ImportModuleLevel`.
2001-
This also means that the value of **level** used by
2001+
This also means that the value of *level* used by
20022002
:c:func:`PyImport_ImportModuleEx` is now 0 instead of -1.
20032003

20042004

0 commit comments

Comments
 (0)