Skip to content

Commit 8df17b4

Browse files
committed
Faffing
1 parent 4ec391f commit 8df17b4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/urllib.request.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The :mod:`urllib.request` module defines the following functions:
187187

188188
The URL authority is discarded if it empty, ``localhost``, or the local
189189
hostname. Otherwise, if *resolve_netloc* is set to true, the authority is
190-
resolved using :func:`socket.gethostbyname`, and discarded if it matches a
190+
resolved using :func:`socket.gethostbyname` and discarded if it matches a
191191
local IP address. If the authority is still unhandled, then on Windows a
192192
UNC path is returned, and on other platforms a
193193
:exc:`~urllib.error.URLError` is raised.

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ urllib
12301230

12311231
- Accept a complete URL when the new *require_scheme* argument is set to
12321232
true.
1233-
- Discard URL authority if it matches the current hostname.
1233+
- Discard URL authority if it matches the local hostname.
12341234
- Discard URL authority if it resolves to a local IP address when the new
12351235
*resolve_netloc* argument is set to true.
12361236
- Raise :exc:`~urllib.error.URLError` if a URL authority isn't local,

0 commit comments

Comments
 (0)