summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-11-18 07:42:20 -0800
committerGitHub <noreply@github.com>2019-11-18 07:42:20 -0800
commit3f4e7f7eb342daa41922d00366827b0a1b233bf7 (patch)
treee232735156b584090f15cc93a384f9ee0b852f31
parent9e4d0312101cc2bc44a9549974d4a25f80e1dc12 (diff)
downloadcpython-git-3f4e7f7eb342daa41922d00366827b0a1b233bf7.tar.gz
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. (cherry picked from commit f49f6baa6bf7916ac039194c24b59d2eff5b180a) Co-authored-by: Роман Донченко <dpb@corrigendum.ru>
-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 ddc3ee23f4..f499412144 100644
--- a/Doc/library/urllib.parse.rst
+++ b/Doc/library/urllib.parse.rst
@@ -520,7 +520,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.