[ty] Fix panics when pulling types for various special forms that have the wrong number of parameters (#18642)

This commit is contained in:
Alex Waygood 2025-06-17 10:40:50 +01:00 committed by GitHub
parent 342b2665db
commit 1d458d4314
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 151 additions and 78 deletions

View file

@ -139,8 +139,6 @@ x: int = MagicMock()
## Invalid
<!-- pull-types:skip -->
`Any` cannot be parameterized:
```py