summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorTim Peters <tim@python.org>2013-08-22 23:32:53 (GMT)
committerTim Peters <tim@python.org>2013-08-22 23:32:53 (GMT)
commit01e75a699d2fd8e9dbfa428412da2a7d1b0af257 (patch)
tree210d98e0670a8e7da283efdf949b30f2ce0c44d9 /Objects
parent06ce077e4327e35f5a198b143d9d95a00abb782a (diff)
downloadcpython-01e75a699d2fd8e9dbfa428412da2a7d1b0af257.zip
cpython-01e75a699d2fd8e9dbfa428412da2a7d1b0af257.tar.gz
cpython-01e75a699d2fd8e9dbfa428412da2a7d1b0af257.tar.bz2
Add line explaining the "%sort" test.
(grafted from 1ea833ecaf5a9d43a886e9e73b4e2551d0d5b548)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/listsort.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/listsort.txt b/Objects/listsort.txt
index 47fec1d..3ec4393 100644
--- a/Objects/listsort.txt
+++ b/Objects/listsort.txt
@@ -60,6 +60,7 @@ Comparison with Python's Samplesort Hybrid
/sort: ascending data
3sort: ascending, then 3 random exchanges
+sort: ascending, then 10 random at the end
+ %sort: ascending, then randomly replace 1% of elements w/ random values
~sort: many duplicates
=sort: all equal
!sort: worst case scenario