Files
ruff/crates/ruff_python_ast/src
Rebecca Chen 112e9d2d82 [ruff_python_ast] Add name and default functions to TypeParam. (#14964)
## Summary

This change adds `name` and `default` functions to `TypeParam` to access
the corresponding attributes more conveniently. I currently have these
as helper functions in code built on top of ruff_python_ast, and they
seemed like they might be generally useful.

## Test Plan

Ran the checks listed in CONTRIBUTING.md#development.

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-12-15 12:04:51 +00:00
..
2024-07-30 19:18:08 +00:00
2024-10-20 22:25:27 +01:00
2024-10-20 10:55:36 +02:00
2023-08-07 16:04:50 +00:00
2024-10-20 22:25:27 +01:00