summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorРоман Донченко <dpb@corrigendum.ru>2019-11-18 15:30:53 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-11-18 15:30:53 (GMT)
commitf49f6baa6bf7916ac039194c24b59d2eff5b180a (patch)
tree9272ec4100179f80c574890e8f4ba19a129e545f /Doc
parent289cf0fbf78c4f38c38ac71ac8b772be7ec2672f (diff)
downloadcpython-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.rst2
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.