[Python-checkins] cpython (3.3): Add line explaining the "%sort" test.

tim.peters python-checkins at python.org
Fri Aug 23 01:43:33 CEST 2013


http://hg.python.org/cpython/rev/8927d15c0785
changeset:   85332:8927d15c0785
branch:      3.3
parent:      85326:516b0cd87a90
user:        Tim Peters <tim at python.org>
date:        Thu Aug 22 18:32:53 2013 -0500
summary:
  Add line explaining the "%sort" test.
(grafted from 1ea833ecaf5a9d43a886e9e73b4e2551d0d5b548)

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