summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-08 10:11:35 -0600
committerMichael Merickel <michael@merickel.org>2020-01-08 10:11:35 -0600
commit025824417f0d779f41717a28047dc420991015aa (patch)
treef82418e8a19f3c32096585fc7c8db275dbe7408e
parent2bf834c98a6d125c820996ad86d5bc1ac2dbf7e7 (diff)
downloadpyramid-025824417f0d779f41717a28047dc420991015aa.tar.gz
pyramid-025824417f0d779f41717a28047dc420991015aa.tar.bz2
pyramid-025824417f0d779f41717a28047dc420991015aa.zip
grammar fixes
-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.