mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:39:12 +00:00
Refactor the ExprDict
node (#11267)
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
de270154a1
commit
6774f27f4b
52 changed files with 2425 additions and 2240 deletions
|
@ -216,26 +216,26 @@ Module(
|
|||
Dict(
|
||||
ExprDict {
|
||||
range: 85..91,
|
||||
keys: [
|
||||
Some(
|
||||
Name(
|
||||
ExprName {
|
||||
range: 86..87,
|
||||
id: "x",
|
||||
ctx: Load,
|
||||
items: [
|
||||
DictItem {
|
||||
key: Some(
|
||||
Name(
|
||||
ExprName {
|
||||
range: 86..87,
|
||||
id: "x",
|
||||
ctx: Load,
|
||||
},
|
||||
),
|
||||
),
|
||||
value: NumberLiteral(
|
||||
ExprNumberLiteral {
|
||||
range: 89..90,
|
||||
value: Int(
|
||||
5,
|
||||
),
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
values: [
|
||||
NumberLiteral(
|
||||
ExprNumberLiteral {
|
||||
range: 89..90,
|
||||
value: Int(
|
||||
5,
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
],
|
||||
},
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue