Chris McDonough
2011-08-20 2871093f61b6176cd49b23abd2582b8184bc60c1
fix current_route_path example
1 files modified
7 ■■■■■ changed files
pyramid/url.py 7 ●●●●● patch | view | raw | blame | history
pyramid/url.py
@@ -440,11 +440,10 @@
        the return value; only the script_name, path, query parameters, and
        anchor data are present in the returned string.
        For example, if the route matched by the current request is named
        'foobar' with the path ``/{foo}/{bar}``, this call to
        ``current_route_path``::
        For example, if the route matched by the current request has the
        pattern ``/{foo}/{bar}``, this call to ``current_route_path``::
            request.route_path(foo='1', bar='2')
            request.current_route_path(foo='1', bar='2')
        Will return the string ``/1/2``.