diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/faq/library.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst index 5965b6a..662f423 100644 --- a/Doc/faq/library.rst +++ b/Doc/faq/library.rst @@ -666,8 +666,8 @@ Yes. Here's a simple example that uses urllib.request:: '/cgi-bin/some-cgi-script', data=qs) msg, hdrs = req.read(), req.info() -Note that in general for a percent-encoded POST operations, query strings must be -quoted by using :func:`urllib.parse.urlencode`. For example to send name="Guy Steele, +Note that in general for percent-encoded POST operations, query strings must be +quoted using :func:`urllib.parse.urlencode`. For example to send name="Guy Steele, Jr.":: >>> import urllib.parse |