diff options
author | Gregory P. Smith <greg@krypto.org> | 2019-09-13 16:13:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-13 16:13:51 (GMT) |
commit | 5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586 (patch) | |
tree | 617e86d74e51ffe2b915e2c89279c04793a838e4 /Misc/NEWS.d | |
parent | 2ccb50cf773881255c5669942a093eb68ad042f6 (diff) | |
download | cpython-5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586.zip cpython-5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586.tar.gz cpython-5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586.tar.bz2 |
bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108)
https://bugs.python.org/issue34706
Specifically in the case of a class that does not override its
constructor signature inherited from object.
These are Buck Evan @bukzor's changes cherrypicked from GH-9344.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-09-13-14-54-33.bpo-34706.HWVpOY.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-13-14-54-33.bpo-34706.HWVpOY.rst b/Misc/NEWS.d/next/Library/2019-09-13-14-54-33.bpo-34706.HWVpOY.rst new file mode 100644 index 0000000..1df3742 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-09-13-14-54-33.bpo-34706.HWVpOY.rst @@ -0,0 +1 @@ +Preserve subclassing in inspect.Signature.from_callable. |