Skip to content

Fix crashing on invalid Concatenate usage#21562

Open
themylogin wants to merge 1 commit into
python:masterfrom
themylogin:concatenate-crash
Open

Fix crashing on invalid Concatenate usage#21562
themylogin wants to merge 1 commit into
python:masterfrom
themylogin:concatenate-crash

Conversation

@themylogin

Copy link
Copy Markdown

An extra pair of square brackets in Callable[[Concatenate[int, ...]], None] caused mypy to crash.

@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. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant