Skip to content

Commit 80bbc49

Browse files
committed
gh-98758: Fix unresolvable :exc: role in NEWS entry
shutil.ReadError has no documented exception entry in the docs (only tarfile.ReadError does), so Sphinx's py:exc cross-reference role can't resolve it, failing the Docs CI check. Use plain code markup instead.
1 parent 9895d80 commit 80bbc49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
:func:`shutil.unpack_archive` now propagates the real underlying error
22
(such as :exc:`FileNotFoundError` or :exc:`PermissionError`) when the
33
input file is missing or inaccessible, instead of masking it with a
4-
generic :exc:`shutil.ReadError` about an unrecognized archive format.
4+
generic ``shutil.ReadError`` about an unrecognized archive format.

0 commit comments

Comments
 (0)