ruff/crates/ty_vendored/ty_extensions
Jelle Zijlstra ec86a4e960
[ty] Add Top[] and Bottom[] special forms, replacing top_materialization_of() function (#20054)
Part of astral-sh/ty#994

## Summary

Add new special forms to `ty_extensions`, `Top[T]` and `Bottom[T]`.
Remove `ty_extensions.top_materialization` and
`ty_extensions.bottom_materialization`.

## Test Plan

Converted the existing `materialization.md` mdtest to the new syntax.
Added some tests for invalid use of the new special form.
2025-08-23 11:20:56 -07:00
..
README.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
ty_extensions.pyi [ty] Add Top[] and Bottom[] special forms, replacing top_materialization_of() function (#20054) 2025-08-23 11:20:56 -07:00

README.md

The build.rs copies the ty_extensions.pyi file in this directory into the vendor/typeshed/stdlib directory.