summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2017-07-10 00:24:17 -0700
committerSteve Piercy <web@stevepiercy.com>2017-07-10 00:24:17 -0700
commit0958d268b4b5451c615e05b2b4657d2afb5a7cd4 (patch)
tree7d4b6217da4ed666d886b84a93896a922401ebd7 /docs
parent8d0cf35c060031e89482135074f8bb46c8028dc0 (diff)
downloadpyramid-0958d268b4b5451c615e05b2b4657d2afb5a7cd4.tar.gz
pyramid-0958d268b4b5451c615e05b2b4657d2afb5a7cd4.tar.bz2
pyramid-0958d268b4b5451c615e05b2b4657d2afb5a7cd4.zip
Add pyramid.interfaces.IRouter.request_context and pyramid.paster.bootstrap
- sort all Pyramid context managers
Diffstat (limited to 'docs')
-rw-r--r--docs/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst
index de68085d9..e80b31deb 100644
--- a/docs/glossary.rst
+++ b/docs/glossary.rst
@@ -1205,4 +1205,4 @@ Glossary
Put another way, if one can observe the change made by a function from outside that function, it has a side effect.
context manager
- A context manager is an object that defines the runtime context to be established when executing a :ref:`with <python:with>` statement in Python. The context manager handles the entry into, and the exit from, the desired runtime context for the execution of the block of code. Context managers are normally invoked using the ``with`` statement, but can also be used by directly invoking their methods. Pyramid adds context managers for :func:`pyramid.testing.testConfig`, :func:`pyramid.scripting.prepare`, and :class:`pyramid.config.Configurator`. \ No newline at end of file
+ A context manager is an object that defines the runtime context to be established when executing a :ref:`with <python:with>` statement in Python. The context manager handles the entry into, and the exit from, the desired runtime context for the execution of the block of code. Context managers are normally invoked using the ``with`` statement, but can also be used by directly invoking their methods. Pyramid adds context managers for :class:`pyramid.config.Configurator`, :meth:`pyramid.interfaces.IRouter.request_context`, :func:`pyramid.paster.bootstrap`, :func:`pyramid.scripting.prepare`, and :func:`pyramid.testing.testConfig`.