diff options
author | Роман Донченко <dpb@corrigendum.ru> | 2019-11-18 15:30:53 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-11-18 15:30:53 (GMT) |
commit | f49f6baa6bf7916ac039194c24b59d2eff5b180a (patch) | |
tree | 9272ec4100179f80c574890e8f4ba19a129e545f /Doc | |
parent | 289cf0fbf78c4f38c38ac71ac8b772be7ec2672f (diff) | |
download | cpython-f49f6baa6bf7916ac039194c24b59d2eff5b180a.zip cpython-f49f6baa6bf7916ac039194c24b59d2eff5b180a.tar.gz cpython-f49f6baa6bf7916ac039194c24b59d2eff5b180a.tar.bz2 |
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.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/urllib.parse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index 84d289b..2d4d5a9 100644 --- a/Doc/library/urllib.parse.rst +++ b/Doc/library/urllib.parse.rst @@ -529,7 +529,7 @@ task isn't already covered by the URL parsing functions above. .. versionchanged:: 3.7 Moved from :rfc:`2396` to :rfc:`3986` for quoting URL strings. "~" is now - included in the set of reserved characters. + included in the set of unreserved characters. The optional *encoding* and *errors* parameters specify how to deal with non-ASCII characters, as accepted by the :meth:`str.encode` method. |