summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.rst2
-rw-r--r--src/pyramid/request.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index d1807103f..8159cea36 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -80,7 +80,7 @@ Features
- Finished callbacks are now executed as part of the ``closer`` that is
invoked as part of ``pyramid.scripting.prepare`` and
- ``pyramid.paster.boostrap``.
+ ``pyramid.paster.bootstrap``.
See https://github.com/Pylons/pyramid/pull/3561
- Added ``pyramid.request.RequestLocalCache`` which can be used to create
diff --git a/src/pyramid/request.py b/src/pyramid/request.py
index 8bb1e2632..d79aad9bf 100644
--- a/src/pyramid/request.py
+++ b/src/pyramid/request.py
@@ -370,7 +370,7 @@ class RequestLocalCache:
:meth:`.get`, :meth:`.set` and :meth:`.clear`. Using these methods, the
cache can be used directly as well, without using it as a decorator.
- The cache will clean release resources aggressively by utilizing
+ The cache will release resources aggressively by utilizing
:meth:`pyramid.request.Request.add_finished_callback`, but it will also
maintain a weakref to the request and cleanup when it is garbage collected
if the callbacks are not invoked for some reason.