Skip to content

Commit e118aca

Browse files
committed
Clarify doctest usage in binary search docstring
1 parent 2c15b8c commit e118aca

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

searches/binary_search.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
#!/usr/bin/env python3
22

33
"""
4-
Pure Python implementations of binary search algorithms
5-
6-
For doctests run the following command:
4+
For doctests (running the example tests written in this file), run:
75
python3 -m doctest -v binary_search.py
86
9-
For manual testing run:
7+
For manual testing (running the script normally), run:
108
python3 binary_search.py
9+
1110
"""
1211

1312
from __future__ import annotations

0 commit comments

Comments
 (0)