diff options
| author | Yury Selivanov <yselivanov@sprymix.com> | 2014-01-27 17:28:37 -0500 |
|---|---|---|
| committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-01-27 17:28:37 -0500 |
| commit | da5fe4f2dacb1d942a2b1046a5652452414721e8 (patch) | |
| tree | 4269c41161652bd3b9f06c7a1660814184f977b8 /Lib/functools.py | |
| parent | eedf1c1ebf88a7b4762b449fee30fe3f6f518ebc (diff) | |
| download | cpython-git-da5fe4f2dacb1d942a2b1046a5652452414721e8.tar.gz | |
inspect.signature: Add support for 'functools.partialmethod' #20223
Diffstat (limited to 'Lib/functools.py')
| -rw-r--r-- | Lib/functools.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/functools.py b/Lib/functools.py index 1e79b31140..2b77f7866a 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): |
