summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/util/caches/descriptors.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/util/caches/descriptors.py b/synapse/util/caches/descriptors.py
index 1f02cca8a5..9d0d0be1f9 100644
--- a/synapse/util/caches/descriptors.py
+++ b/synapse/util/caches/descriptors.py
@@ -228,10 +228,6 @@ class _CacheDescriptorBase(object):
         # list of the names of the args used as the cache key
         self.arg_names = all_args[1:num_args + 1]
 
-        # The arg spec of the wrapped function, see `inspect.getargspec` for
-        # the type.
-        self.arg_spec = arg_spec
-
         # self.arg_defaults is a map of arg name to its default value for each
         # argument that has a default value
         if arg_spec.defaults: