aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/functools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/functools.py')
-rw-r--r--Lib/functools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/functools.py b/Lib/functools.py
index be44ccdae6b..a2fc28779db 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -984,6 +984,7 @@ class cached_property:
self.func = func
self.attrname = None
self.__doc__ = func.__doc__
+ self.__module__ = func.__module__
def __set_name__(self, owner, name):
if self.attrname is None: