summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-02 12:35:25 -0500
committerChris McDonough <chrism@plope.com>2011-01-02 12:35:25 -0500
commitc82eb9793b7bb597893b09251a079902f3952605 (patch)
tree49ea26d8a1b08ad9c27fde55bcad9a1f904827b6
parent3d187b491e2f8a2e4ac700f0b229d9d2bb92daa2 (diff)
downloadpyramid-c82eb9793b7bb597893b09251a079902f3952605.tar.gz
pyramid-c82eb9793b7bb597893b09251a079902f3952605.tar.bz2
pyramid-c82eb9793b7bb597893b09251a079902f3952605.zip
fix oldstyle route syntax
-rw-r--r--pyramid/url.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/url.py b/pyramid/url.py
index ac569eecb..c11e39143 100644
--- a/pyramid/url.py
+++ b/pyramid/url.py
@@ -32,7 +32,7 @@ def route_url(route_name, request, *elements, **kw):
enough arguments, for example).
For example, if you've defined a route named "foobar" with the path
- ``:foo/{bar}/*traverse``::
+ ``{foo}/{bar}/*traverse``::
route_url('foobar', request, foo='1') => <KeyError exception>
route_url('foobar', request, foo='1', bar='2') => <KeyError exception>