[ty] Rename type_api => ty_extensions (#19523)

This commit is contained in:
David Peter 2025-07-24 10:24:26 +02:00 committed by GitHub
parent 63d1d332b3
commit 9461d3076f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -625,7 +625,7 @@ len()
len([], 1)
```
### Type API predicates
### Type property predicates
```py
from ty_extensions import is_subtype_of

View file

@ -3,8 +3,8 @@ source: crates/ty_test/src/lib.rs
expression: snapshot
---
---
mdtest name: type_api.md - Type API (`ty_extensions`) - Diagnostic snapshots
mdtest path: crates/ty_python_semantic/resources/mdtest/type_api.md
mdtest name: ty_extensions.md - `ty_extensions` - Diagnostic snapshots
mdtest path: crates/ty_python_semantic/resources/mdtest/ty_extensions.md
---
# Python source files

View file

@ -1,4 +1,4 @@
# Type API (`ty_extensions`)
# `ty_extensions`
This document describes the internal `ty_extensions` API for creating and manipulating types as well
as testing various type system properties.