From e118aca618ac026e7d2b7db0af437d57d031eaac Mon Sep 17 00:00:00 2001 From: Soham-1616 Date: Mon, 29 Dec 2025 17:55:11 +0530 Subject: [PATCH] Clarify doctest usage in binary search docstring --- searches/binary_search.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/searches/binary_search.py b/searches/binary_search.py index 5125dc6bdb9a..86138d03144e 100644 --- a/searches/binary_search.py +++ b/searches/binary_search.py @@ -1,13 +1,12 @@ #!/usr/bin/env python3 """ -Pure Python implementations of binary search algorithms - -For doctests run the following command: +For doctests (running the example tests written in this file), run: python3 -m doctest -v binary_search.py -For manual testing run: +For manual testing (running the script normally), run: python3 binary_search.py + """ from __future__ import annotations