wmllint-1.4: replaced a dict(map()) with dict comprehension
This commit is contained in:
parent
a12d99e98c
commit
b8dfa190f2
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ notepairs = (
|
|||
)
|
||||
|
||||
trait_note = dict(notepairs)
|
||||
note_trait = dict(map(lambda p: (p[1], p[0]), notepairs))
|
||||
note_trait = {pair[1]: pair[0] for pair in notepairs}
|
||||
|
||||
def string_strip(value):
|
||||
"String-strip the value"
|
||||
|
|
Loading…
Add table
Reference in a new issue