Skip to content

Commit

Permalink
Modify dict initialisation
Browse files Browse the repository at this point in the history
Suggested by pyupgrade.
  • Loading branch information
DimitriPapadopoulos authored and FrancescAlted committed Sep 25, 2023
1 parent 7d42699 commit 55ea497
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions bench/ndarray/transcode_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@
]

# measurements
keys = ["dset", "codec", "clevel", "filter", "cspeed", "dspeed", "cratio"]
meas = dict(((k, []) for k in keys))
meas = {
"dset": [],
"codec": [],
"clevel": [],
"filter": [],
"cspeed": [],
"dspeed": [],
"cratio": [},
}

filters = {
"nofilter": {
Expand Down

0 comments on commit 55ea497

Please sign in to comment.