Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make X[()] count as a type application#20568

Merged
hauntsaninja merged 2 commits intopython:masterfrom
A5rocks:empty-type-application
Jan 12, 2026
Merged

Make X[()] count as a type application#20568
hauntsaninja merged 2 commits intopython:masterfrom
A5rocks:empty-type-application

Conversation

@A5rocks
Copy link
Copy Markdown
Collaborator

@A5rocks A5rocks commented Jan 12, 2026

Fixes #20563

Comment thread test-data/unit/check-generics.test
@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@hauntsaninja hauntsaninja merged commit e7a19c8 into python:master Jan 12, 2026
23 checks passed
@A5rocks A5rocks deleted the empty-type-application branch January 12, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A generic type argument accepts a tuple

3 participants