commit | cf25765cf79a5bd19ba90a535a51367d6177f2bc | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Sep 13 10:42:35 2019 -0700 |
committer | Stéphane Wirtel <stephane@wirtel.be> | Fri Sep 13 18:42:35 2019 +0100 |
tree | cd992b2cde056be71f6e432d16d35ee2a9de8f4c | |
parent | 10873831ed95386d4834dcfb49f1c3d02f741eed [diff] |
bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108) (GH-16113) 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. (cherry picked from commit 5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586) Co-authored-by: Gregory P. Smith <greg@krypto.org>