From d9423b6f9adbce7f8fdc9153644bd88be9a5b6c8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Jan 2009 00:14:14 +0000 Subject: Be more specific. --- repoze/bfg/url.py | 10 +++++----- 1 file 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 - `_ 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. + `_ 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) -- cgit v1.2.3