commit | da5fe4f2dacb1d942a2b1046a5652452414721e8 | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yselivanov@sprymix.com> | Mon Jan 27 17:28:37 2014 -0500 |
committer | Yury Selivanov <yselivanov@sprymix.com> | Mon Jan 27 17:28:37 2014 -0500 |
tree | 4269c41161652bd3b9f06c7a1660814184f977b8 | |
parent | eedf1c1ebf88a7b4762b449fee30fe3f6f518ebc [diff] [blame] |
inspect.signature: Add support for 'functools.partialmethod' #20223
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 @@ 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):