diff --git a/Misc/NEWS.d/next/Library/2024-09-03-19-36-33.gh-issue-123599.TzDIha.rst b/Misc/NEWS.d/next/Library/2024-09-03-19-36-33.gh-issue-123599.TzDIha.rst index f6dd88eb661b9b..239e20ffc84e6b 100644 --- a/Misc/NEWS.d/next/Library/2024-09-03-19-36-33.gh-issue-123599.TzDIha.rst +++ b/Misc/NEWS.d/next/Library/2024-09-03-19-36-33.gh-issue-123599.TzDIha.rst @@ -1,3 +1,3 @@ Fix issue where :meth:`pathlib.Path.from_uri` accepted URIs with non-local -authorities on POSIX. This method now raises `ValueError` when given a URI -like ``file://server/share`` on a non-Windows system. +authorities on POSIX. This method now raises :exc:`ValueError` when given +a URI like ``file://server/share`` on a non-Windows system.