Skip to content

Commit f49f6ba

Browse files
SpecLadmiss-islington
authored andcommitted
Correct the description of the 3.7 change in urllib.parse.quote (GH-17065)
`~` is now treated as an unreserved character (i.e. it doesn't get quoted), not a reserved one.
1 parent 289cf0f commit f49f6ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/urllib.parse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ task isn't already covered by the URL parsing functions above.
529529

530530
.. versionchanged:: 3.7
531531
Moved from :rfc:`2396` to :rfc:`3986` for quoting URL strings. "~" is now
532-
included in the set of reserved characters.
532+
included in the set of unreserved characters.
533533

534534
The optional *encoding* and *errors* parameters specify how to deal with
535535
non-ASCII characters, as accepted by the :meth:`str.encode` method.

0 commit comments

Comments
 (0)