From 025824417f0d779f41717a28047dc420991015aa Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 8 Jan 2020 10:11:35 -0600 Subject: grammar fixes --- CHANGES.rst | 2 +- src/pyramid/request.py | 2 +- 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. -- cgit v1.2.3