File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ Other Language Changes
79
79
:exc: `ValueError ` as used to occur when a relative import went past
80
80
its top-level package.
81
81
(Contributed by Ngalim Siregar in :issue: `37444 `.)
82
-
82
+
83
83
84
84
* Python now gets the absolute path of the script filename specified on
85
85
the command line (ex: ``python3 script.py ``): the ``__file__ `` attribute of
@@ -192,7 +192,7 @@ that may require changes to your code.
192
192
Changes in the Python API
193
193
-------------------------
194
194
195
- * :func: `builtins.__import__ ` and:func: `importlib.util.resolve_name ` now raise
195
+ * :func: `builtins.__import__ ` and :func: `importlib.util.resolve_name ` now raise
196
196
:exc: `ImportError ` where it previously raised :exc: `ValueError `. Callers
197
197
catching the specific exception type and supporting both Python 3.9 and
198
198
earlier versions will need to catch both:
You can’t perform that action at this time.
0 commit comments