commit | ce7a6afb797d2ffde45e9e902516b8437c8f9e31 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Wed Oct 27 14:57:07 2021 -0700 |
committer | GitHub <noreply@github.com> | Wed Oct 27 14:57:07 2021 -0700 |
tree | 1c66d8bd766f45dc5ec20996aef8083ee4b42aec | |
parent | 038f45230892235e806ef227dfd9484b95687823 [diff] |
bpo-45438: format of inspect.Signature with generic builtins (GH-29212) Use types.GenericAlias in inspect.formatannotation to correctly add type arguments of builtin types to the string representation of Signatures. Co-authored-by: Martin Rückl <martin.rueckl@codecentric.de> (cherry picked from commit d02ffd1b5c0fd8dec6dd2f7e3f2b0cfae48b7899) Co-authored-by: Martin Rueckl <enigma@nbubu.de>