MCPcopy Create free account
hub / github.com/astral-sh/ruff / tuple_fields

Function tuple_fields

crates/ruff_python_ast/src/comparable.rs:1406–1415  ·  view source on GitHub ↗
(node: &ast::ExprTuple)

Source from the content-addressed store, hash-verified

1404}
1405
1406fn tuple_fields(node: &ast::ExprTuple) -> ComparableExprSlice<'_> {
1407 let ast::ExprTuple {
1408 elts,
1409 ctx: _,
1410 range: _,
1411 node_index: _,
1412 parenthesized: _,
1413 } = node;
1414 ComparableSlice::new(elts)
1415}
1416
1417#[derive(Debug, PartialEq, Eq, Hash)]
1418struct SliceFields<'a> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected