diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-27 22:00:18 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-27 22:00:18 (GMT) |
| commit | 21150c6fa330f80747d698e4b883c7b4801a25bd (patch) | |
| tree | abb5695dacbac6d94210ac25f088fdfaa52c9ab5 /Python/pythonrun.c | |
| parent | 30c1f18ee62cef301e18488b80b4d329290f7b95 (diff) | |
| download | cpython-21150c6fa330f80747d698e4b883c7b4801a25bd.zip cpython-21150c6fa330f80747d698e4b883c7b4801a25bd.tar.gz cpython-21150c6fa330f80747d698e4b883c7b4801a25bd.tar.bz2 | |
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>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
