Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-104050: Add type hints to Argument Clinic converter keywords #104588

Merged
merged 3 commits into from
May 17, 2023

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented May 17, 2023

Introduce TypeSet, and use it to annotate the 'accept' keyword of
various C converters.

Introduce TypeSet, and use it to annotate the 'accept' keyword of
various C converters.
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@erlend-aasland erlend-aasland enabled auto-merge (squash) May 17, 2023 20:36
@erlend-aasland erlend-aasland merged commit 2f369ca into python:main May 17, 2023
JelleZijlstra pushed a commit to JelleZijlstra/cpython that referenced this pull request May 18, 2023
…python#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.
@erlend-aasland erlend-aasland deleted the typed-clinic/accept branch May 21, 2023 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants