Skip to content

Avoid narrowing type[T] in type calls#21174

Open
hauntsaninja wants to merge 1 commit intopython:masterfrom
hauntsaninja:narrowself
Open

Avoid narrowing type[T] in type calls#21174
hauntsaninja wants to merge 1 commit intopython:masterfrom
hauntsaninja:narrowself

Conversation

@hauntsaninja
Copy link
Copy Markdown
Collaborator

@hauntsaninja hauntsaninja commented Apr 5, 2026

Similar to #20662

Fixes #21173

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

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

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.

Issue with Narrowing

1 participant