aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kemmer <tkemmer@computer.org>2019-01-29 20:48:17 +0100
committerThomas Kemmer <tkemmer@computer.org>2019-01-29 20:56:26 +0100
commit00f85990747ffdfb850e2cfbf674b5ac875d8ae2 (patch)
tree535987e3f5223bc87fc81a6755bac102aa9e14fe
parentdf509582fbde6cdf83a2c0fe14b265649a3ba4c7 (diff)
downloadcachetools-00f85990747ffdfb850e2cfbf674b5ac875d8ae2.tar.gz
Fix #118: Improve documentation regarding thread safety.
-rw-r--r--docs/index.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 38259c2..b56ecc2 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -53,10 +53,10 @@ of one argument used to retrieve the size of an item's value.
.. note::
- Please be aware that :class:`Cache` and its subclasses are *not*
- thread-safe. Access to a shared cache from multiple threads must
- be properly synchronized, e.g. by using one of the memoizing
- decorators with a suitable `lock` object.
+ Please be aware that all these classes are *not* thread-safe.
+ Access to a shared cache from multiple threads must be properly
+ synchronized, e.g. by using one of the memoizing decorators with a
+ suitable `lock` object.
.. autoclass:: Cache(maxsize, getsizeof=None)
:members: