summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repoze/bfg/url.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/repoze/bfg/url.py b/repoze/bfg/url.py
index 4c1545de5..05e16451c 100644
--- a/repoze/bfg/url.py
+++ b/repoze/bfg/url.py
@@ -71,11 +71,11 @@ def model_url(model, request, *elements, **kw):
def urlencode(query, doseq=False):
"""
A wrapper around Python's stdlib `urllib.urlencode function
- <http://docs.python.org/library/urllib.html>`_ which
- accepts unicode keys and values within the ``query``
- dict/sequence; all keys and values are first converted to UTF-8
- before being used to compose the query string. The behavior of
- the function is otherwise the same as the stdlib version.
+ <http://docs.python.org/library/urllib.html>`_ which accepts
+ unicode keys and values within the ``query`` dict/sequence; all
+ Unicode keys and values are first converted to UTF-8 before being
+ used to compose the query string. The behavior of the function is
+ otherwise the same as the stdlib version.
The value of ``query`` must be a sequence of two-tuples
representing key/value pairs *or* an object (often a dictionary)