[Python-checkins] cpython (merge 3.3 -> default): Add line explaining the "%sort" test.
tim.peters
python-checkins at python.org
Fri Aug 23 01:43:35 CEST 2013
http://hg.python.org/cpython/rev/41d459f96704
changeset: 85333:41d459f96704
parent: 85330:d51486f8ac08
parent: 85332:8927d15c0785
user: Tim Peters <tim at python.org>
date: Thu Aug 22 18:42:02 2013 -0500
summary:
Add line explaining the "%sort" test.
files:
Objects/listsort.txt | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Objects/listsort.txt b/Objects/listsort.txt
--- a/Objects/listsort.txt
+++ b/Objects/listsort.txt
@@ -60,6 +60,7 @@
/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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list