summaryrefslogtreecommitdiffstats
path: root/Doc/faq/library.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/faq/library.rst')
-rw-r--r--Doc/faq/library.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst
index 6b4f943..e741c58 100644
--- a/Doc/faq/library.rst
+++ b/Doc/faq/library.rst
@@ -672,9 +672,8 @@ Yes. Here's a simple example that uses httplib::
if reply != 200:
sys.stdout.write(httpobj.getfile().read())
-Note that in general for a percent-encoded POST operations, query strings must be
-quoted by using :func:`urllib.quote`. For example to send name="Guy Steele,
-Jr."::
+Note that in general for percent-encoded POST operations, query strings must be
+quoted using :func:`urllib.quote`. For example to send name="Guy Steele, Jr."::
>>> from urllib import quote
>>> x = quote("Guy Steele, Jr.")