summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichr <lapython-gh@webhippo.net>2011-07-17 03:01:35 -0700
committermichr <lapython-gh@webhippo.net>2011-07-17 03:01:35 -0700
commitbad27ceb1675cb761c83f2f2facf1fa0e69dc48e (patch)
tree8a01ec601134862dc98c9b897585623a8b6e76aa
parent2ce6659c9c3f0cd916cb85f43bd973a53d857a14 (diff)
downloadpyramid-bad27ceb1675cb761c83f2f2facf1fa0e69dc48e.tar.gz
pyramid-bad27ceb1675cb761c83f2f2facf1fa0e69dc48e.tar.bz2
pyramid-bad27ceb1675cb761c83f2f2facf1fa0e69dc48e.zip
fix typo in urls.py :: current_route_url
-rw-r--r--pyramid/url.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/url.py b/pyramid/url.py
index 2a6fda89a..548d5e9d9 100644
--- a/pyramid/url.py
+++ b/pyramid/url.py
@@ -404,7 +404,7 @@ def current_route_url(request, *elements, **kw):
``/foo/1``.
If the 'current route' has the route pattern ``/foo/{page}`` and the
- current current url path is ``/foo/1``, the matchdict will be
+ current url path is ``/foo/1``, the matchdict will be
``{'page':'1'}``. The result of ``current_route_url(request, page='2')``
in this situation will be ``/foo/2``.