From a5aa238334ec11d3973bbf3fd3f36b7246909d93 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 25 Feb 2011 00:52:57 -0500 Subject: docs fix related to https://github.com/Pylons/pyramid/commit/0a0edfcc42611fc9f815e7a4117674678840abb1 --- pyramid/request.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyramid/request.py b/pyramid/request.py index 02fbb1b53..b607f159f 100644 --- a/pyramid/request.py +++ b/pyramid/request.py @@ -273,8 +273,8 @@ class Request(WebobRequest): This method accepts the same arguments as :meth:`pyramid.request.Request.route_url` and performs the same duty. It just omits the host, port, and scheme information in the return - value; only the path, query parameters, and anchor data are present - in the returned string. + value; only the script name, path, query parameters, and anchor data + are present in the returned string. The :meth:`pyramid.request.Request.route_path` method calls the :func:`pyramid.url.route_path` function using the Request object as @@ -294,6 +294,7 @@ class Request(WebobRequest): route_path('foobar', request) See :func:`pyramid.url.route_path` for more information + """ return route_path(route_name, self, *elements, **kw) -- cgit v1.2.3