From c83d57fa5cc66e81d2da53d6322d9b1ac656466f Mon Sep 17 00:00:00 2001 From: Bruno Binet Date: Thu, 13 Oct 2011 01:50:19 +0300 Subject: fix typo in docstring: s/current_static_url/static_url/ --- pyramid/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/url.py b/pyramid/url.py index 7a7dd3b4c..862d48b82 100644 --- a/pyramid/url.py +++ b/pyramid/url.py @@ -380,7 +380,7 @@ class URLMethodsMixin(object): and port) for a static resource. This function accepts the same argument as - :meth:`pyramid.request.Request.current_static_url` and performs the + :meth:`pyramid.request.Request.static_url` and performs the same duty. It just omits the host, port, and scheme information in the return value; only the script_name, path, query parameters, and anchor data are present in the returned string. -- cgit v1.2.3