mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:23 +00:00
Sync vendored typeshed stubs (#18110)
Close and reopen this PR to trigger CI --------- Co-authored-by: typeshedbot <> Co-authored-by: Carl Meyer <carl@astral.sh>
This commit is contained in:
parent
466021d5e1
commit
b600ff106a
99 changed files with 2367 additions and 747 deletions
|
@ -28,7 +28,7 @@ def f() -> None:
|
|||
```py
|
||||
type IntOrStr = int | str
|
||||
|
||||
reveal_type(IntOrStr.__value__) # revealed: Any
|
||||
reveal_type(IntOrStr.__value__) # revealed: @Todo(Support for `typing.TypeAlias`)
|
||||
```
|
||||
|
||||
## Invalid assignment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue