summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-29 11:48:24 +0000
committerErik Johnston <erik@matrix.org>2019-10-29 11:48:30 +0000
commite6c7e239ef70c851f21d39652ddedddfddf5f251 (patch)
treef7cc669ba346b07312ca0a4b6291bb24ea826b5c
parentNewsfile (diff)
downloadsynapse-e6c7e239ef70c851f21d39652ddedddfddf5f251.tar.xz
Update docstring
-rw-r--r--synapse/util/caches/descriptors.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/util/caches/descriptors.py b/synapse/util/caches/descriptors.py
index 5a8da449b2..0e8da27f53 100644
--- a/synapse/util/caches/descriptors.py
+++ b/synapse/util/caches/descriptors.py
@@ -482,9 +482,8 @@ class CacheListDescriptor(_CacheDescriptorBase):
     Given a list of keys it looks in the cache to find any hits, then passes
     the list of missing keys to the wrapped function.
 
-    Once wrapped, the function returns either a Deferred which resolves to
-    the list of results, or (if all results were cached), just the list of
-    results.
+    Once wrapped, the function returns a Deferred which resolves to the list
+    of results.
     """
 
     def __init__(