mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-02 12:58:27 +00:00
[ty] Fix panics when pulling types for various special forms that have the wrong number of parameters (#18642)
This commit is contained in:
parent
342b2665db
commit
1d458d4314
4 changed files with 151 additions and 78 deletions
|
|
@ -139,8 +139,6 @@ x: int = MagicMock()
|
|||
|
||||
## Invalid
|
||||
|
||||
<!-- pull-types:skip -->
|
||||
|
||||
`Any` cannot be parameterized:
|
||||
|
||||
```py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue