mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-08 04:38:04 +00:00
[ty] Rename type_api => ty_extensions (#19523)
This commit is contained in:
parent
63d1d332b3
commit
9461d3076f
4 changed files with 5 additions and 5 deletions
|
@ -625,7 +625,7 @@ len()
|
|||
len([], 1)
|
||||
```
|
||||
|
||||
### Type API predicates
|
||||
### Type property predicates
|
||||
|
||||
```py
|
||||
from ty_extensions import is_subtype_of
|
||||
|
|
|
@ -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
|
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue