diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-01-06 00:14:14 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-01-06 00:14:14 +0000 |
| commit | d9423b6f9adbce7f8fdc9153644bd88be9a5b6c8 (patch) | |
| tree | b28a67a565b8d97c267ca9cd2cda97ac7e4127de | |
| parent | 7ae0c2522bbb2b026bc0370dbb1b1608f146137d (diff) | |
| download | pyramid-d9423b6f9adbce7f8fdc9153644bd88be9a5b6c8.tar.gz pyramid-d9423b6f9adbce7f8fdc9153644bd88be9a5b6c8.tar.bz2 pyramid-d9423b6f9adbce7f8fdc9153644bd88be9a5b6c8.zip | |
Be more specific.
| -rw-r--r-- | repoze/bfg/url.py | 10 |
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) |
