summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-01-29 01:23:02 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-01-29 01:23:02 +0200
commit23c8985a661b9e2b11b76750893724dc747ffc1c (patch)
tree7b3b4c53970c37461d671c16f581adfa642a92c9
parentf9bb5acdef3322e549512ad721b2c351c0064e71 (diff)
downloadpyramid-23c8985a661b9e2b11b76750893724dc747ffc1c.tar.gz
pyramid-23c8985a661b9e2b11b76750893724dc747ffc1c.tar.bz2
pyramid-23c8985a661b9e2b11b76750893724dc747ffc1c.zip
replace 'note' with the more correct 'versionadded' directive
-rw-r--r--docs/api/request.rst4
-rw-r--r--pyramid/url.py5
2 files changed, 3 insertions, 6 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index e4034c635..9f1f71b31 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -163,9 +163,7 @@
.. method:: invoke_subrequest(request, use_tweens=False)
- .. warning::
-
- This API was added in Pyramid 1.4a1.
+ .. versionadded:: 1.4a1
Obtain a response object from the Pyramid application based on
information in the ``request`` object provided. The ``request`` object
diff --git a/pyramid/url.py b/pyramid/url.py
index 8fb5e49ab..84b58ac45 100644
--- a/pyramid/url.py
+++ b/pyramid/url.py
@@ -390,9 +390,8 @@ class URLMethodsMixin(object):
pass ``app_url=''`. Passing ``app_url=''` when the resource path is
``/baz/bar`` will return ``/baz/bar``.
- .. note::
-
- ``app_url`` is new as of Pyramid 1.3.
+ .. versionadded:: 1.3
+ ``app_url``
If ``app_url`` is passed and any of ``scheme``, ``port``, or ``host``
are also passed, ``app_url`` will take precedence and the values