]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104050: Add type hints to Argument Clinic converter keywords (#104588)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Wed, 17 May 2023 21:05:22 +0000 (23:05 +0200)
committerGitHub <noreply@github.com>
Wed, 17 May 2023 21:05:22 +0000 (21:05 +0000)
commit2f369cafeeb4a4886b00396abd8a5f33e555e1c3
tree630f0993bdfe188685aa4f62f66d825e6f3a6cc4
parentaed643baa968b4959b830d37750080cac546fba7
gh-104050: Add type hints to Argument Clinic converter keywords (#104588)

Introduce TypeSet, and use it to annotate the 'accept' keyword of
various C converters. Also add some missing return annotations for
converter init functions.
Tools/clinic/clinic.py