SIGN IN SIGN UP
TheAlgorithms / Python UNCLAIMED

All Algorithms implemented in Python

0 0 1 Python

added type hints and doctests to arithmetic_analysis/bisection.py (#2241)

* added type hints and doctests to arithmetic_analysis/bisection.py

continuing in line with #2128

* modified arithmetic_analysis/bisection.py

Put back print statement at the end, replaced algorithm's print statement with an exception.

* modified arithmetic_analysis/bisection.py

Removed unnecessary type import "Optional"

* modified arithmetic_analysis/bisection.py

Replaced generic Exception with ValueError.

* modified arithmetic_analysis/bisection.py

fixed doctests
S
spamegg committed
bd74f20bf2c46989d56fa1f81b900675794e1267
Parent: dfb4ce4
Committed by GitHub <[email protected]> on 7/27/2020, 1:23:55 PM