((k,v),) = dict.items() was suggested by some friends, but I feel like
that's maybe too clever?
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGa748a5d1d7c3: webcommands: unpack contents of length-1 dict portably
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.