summaryrefslogtreecommitdiff
path: root/docs/api/request.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/request.rst')
-rw-r--r--docs/api/request.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index 603807abe..1718d0743 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -161,7 +161,7 @@
request, the value of this attribute will be ``None``. See
:ref:`matched_route`.
- .. method:: subrequest(request, use_tweens=False)
+ .. method:: invoke_subrequest(request, use_tweens=False)
.. warning::
@@ -184,7 +184,7 @@
request)
- Adds a ``registry`` attribute (the current Pyramid registry) and a
- ``subrequest`` attribute (a callable) to the request object it's
+ ``invoke_subrequest`` attribute (a callable) to the request object it's
handed.
- sets request extensions (such as those added via