Skip to content

Commit 9592182

Browse files
committed
update module doc
1 parent f528ce3 commit 9592182

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

sorts/binary_insertion_sort.py

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
"""
2-
This is a pure Python implementation of the binary insertion sort algorithm
2+
A variant of insertion sort that may yield in better performance if the
3+
cost of comparisons exceeds the cost of swaps.
34
4-
For doctests run following command:
5-
python -m doctest -v binary_insertion_sort.py
6-
or
7-
python3 -m doctest -v binary_insertion_sort.py
8-
9-
For manual testing run:
10-
python binary_insertion_sort.py
5+
https://en.wikipedia.org/wiki/Insertion_sort#Variants
116
"""
127

138

0 commit comments

Comments
 (0)