diff options
| author | Роман Донченко <dpb@corrigendum.ru> | 2019-11-18 18:30:53 +0300 |
|---|---|---|
| committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-11-18 07:30:53 -0800 |
| commit | f49f6baa6bf7916ac039194c24b59d2eff5b180a (patch) | |
| tree | 9272ec4100179f80c574890e8f4ba19a129e545f /Doc/library | |
| parent | 289cf0fbf78c4f38c38ac71ac8b772be7ec2672f (diff) | |
| download | cpython-git-f49f6baa6bf7916ac039194c24b59d2eff5b180a.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.
Diffstat (limited to 'Doc/library')
| -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 84d289bc44..2d4d5a9e60 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. |
