File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments