[PATCH] D67809: [LNT] Python 3 support: use Python 3 idioms
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 08:42:22 PDT 2019
hubert.reinterpretcast added inline comments.
================
Comment at: lnt/external/stats/stats.py:2027
else: # must be a SEQUENCE of dims to average over
- dims = list(dimension)
- dims.sort()
+ dims = sorted(dimension)
dims.reverse()
----------------
Should this sort be updated to sort in the desired order instead of calling `reverse()` after?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67809/new/
https://reviews.llvm.org/D67809
More information about the llvm-commits
mailing list