diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-13 17:06:50 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-13 17:06:50 (GMT) |
commit | 5e1c053f0c024d53a8618937d6cfbc612d253bdd (patch) | |
tree | b73c234f2d66f20fa02776c2db48dcbab0c9a707 /Doc/library/urllib.parse.rst | |
parent | b7117af07d20aefa12c95c5320c13b88afdf5a58 (diff) | |
download | cpython-5e1c053f0c024d53a8618937d6cfbc612d253bdd.zip cpython-5e1c053f0c024d53a8618937d6cfbc612d253bdd.tar.gz cpython-5e1c053f0c024d53a8618937d6cfbc612d253bdd.tar.bz2 |
Improve #19204: Improved cross-references in the urllib package documentation.
Diffstat (limited to 'Doc/library/urllib.parse.rst')
-rw-r--r-- | Doc/library/urllib.parse.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index dac1cd9..b951420 100644 --- a/Doc/library/urllib.parse.rst +++ b/Doc/library/urllib.parse.rst @@ -518,8 +518,8 @@ task isn't already covered by the URL parsing functions above. Convert a mapping object or a sequence of two-element tuples, which may either be a :class:`str` or a :class:`bytes`, to a "percent-encoded" string. If the resultant string is to be used as a *data* for POST - operation with :func:`urlopen` function, then it should be properly encoded - to bytes, otherwise it would result in a :exc:`TypeError`. + operation with :func:`~urllib.request.urlopen` function, then it should be + properly encoded to bytes, otherwise it would result in a :exc:`TypeError`. The resulting string is a series of ``key=value`` pairs separated by ``'&'`` characters, where both *key* and *value* are quoted using :func:`quote_plus` |