summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-02-04 00:50:29 (GMT)
committerGitHub <noreply@github.com>2020-02-04 00:50:29 (GMT)
commita0389ba84bb2dbee7a59e25163e514059afc166d (patch)
tree8c707cefa942cd79d902d8bfad65e093946bbb24 /Lib/test
parentd01ae1b22330992eadc7b2a0842ead544f7e507d (diff)
downloadcpython-a0389ba84bb2dbee7a59e25163e514059afc166d.zip
cpython-a0389ba84bb2dbee7a59e25163e514059afc166d.tar.gz
cpython-a0389ba84bb2dbee7a59e25163e514059afc166d.tar.bz2
Fixes in sorting descriptions (GH-18317)
Improvements in listsort.txt and a comment in sortperf.py. Automerge-Triggered-By: @csabella (cherry picked from commit 24e5ad4689de9adc8e4a7d8c08fe400dcea668e6) Co-authored-by: Stefan Pochmann <stefan.pochmann@gmail.com>
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/sortperf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/sortperf.py b/Lib/test/sortperf.py
index 171e5ce..14a9d82 100644
--- a/Lib/test/sortperf.py
+++ b/Lib/test/sortperf.py
@@ -134,7 +134,7 @@ def tabulate(r):
L = list(range(half - 1, -1, -1))
L.extend(range(half))
# Force to float, so that the timings are comparable. This is
- # significantly faster if we leave tham as ints.
+ # significantly faster if we leave them as ints.
L = list(map(float, L))
doit(L) # !sort
print()