diff --git a/pipeline_test.py b/pipeline_test.py index de5514e..8e50afb 100644 --- a/pipeline_test.py +++ b/pipeline_test.py @@ -1,3 +1,12 @@ +"""A small arithmetic calculator. + +Provides the :func:`calculate` function which performs basic arithmetic +operations (+, -, *, /, **, //) with proper error handling. +""" + +__all__ = ["calculate"] + + def _check_div_zero(b: float | int, op: str) -> None: if op in ("/", "//") and b == 0: raise ZeroDivisionError("division by zero")