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)
commit78cc8daa9baa49853f914addcd26ee2807d4cef6 (patch)
tree1e4430a1f1850290a9b010cdb53aed9a0c172137 /Objects
parentb445558d8444199deea0e0745db6512930777bd8 (diff)
downloadcpython-78cc8daa9baa49853f914addcd26ee2807d4cef6.zip
cpython-78cc8daa9baa49853f914addcd26ee2807d4cef6.tar.gz
cpython-78cc8daa9baa49853f914addcd26ee2807d4cef6.tar.bz2
Add line explaining the "%sort" test.
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 31a5445..44a353a 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