Skip to content

Commit b0c8536

Browse files
committed
Fix whatsnew documentation
1 parent fca53f9 commit b0c8536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/whatsnew/3.9.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Other Language Changes
7979
:exc:`ValueError` as used to occur when a relative import went past
8080
its top-level package.
8181
(Contributed by Ngalim Siregar in :issue:`37444`.)
82-
82+
8383

8484
* Python now gets the absolute path of the script filename specified on
8585
the command line (ex: ``python3 script.py``): the ``__file__`` attribute of
@@ -192,7 +192,7 @@ that may require changes to your code.
192192
Changes in the Python API
193193
-------------------------
194194

195-
* :func:`builtins.__import__` and:func:`importlib.util.resolve_name` now raise
195+
* :func:`builtins.__import__` and :func:`importlib.util.resolve_name` now raise
196196
:exc:`ImportError` where it previously raised :exc:`ValueError`. Callers
197197
catching the specific exception type and supporting both Python 3.9 and
198198
earlier versions will need to catch both:

0 commit comments

Comments
 (0)