summaryrefslogtreecommitdiffstats
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 1e79b31..2b77f78 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -290,6 +290,7 @@ class partialmethod(object):
call_args = (cls_or_self,) + self.args + tuple(rest)
return self.func(*call_args, **call_keywords)
_method.__isabstractmethod__ = self.__isabstractmethod__
+ _method._partialmethod = self
return _method
def __get__(self, obj, cls):