summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--persistent.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/persistent.py b/persistent.py
index 7136559..1e520be 100644
--- a/persistent.py
+++ b/persistent.py
@@ -128,6 +128,7 @@ class persistent_autoloaded_singleton(object):
self.instance = None
def __call__(self, cls: Persistent):
+ @functools.wraps(cls) # type: ignore
def _load(*args, **kwargs):
# If class has already been loaded, act like a singleton