From 9d02931c1173c4b2e39062cfc2dbd39bc87f556a Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 18 Oct 2024 19:23:28 +0800 Subject: [PATCH] update docstring --- include/typings/array2d.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/typings/array2d.pyi b/include/typings/array2d.pyi index 7a464440..61603f8a 100644 --- a/include/typings/array2d.pyi +++ b/include/typings/array2d.pyi @@ -64,5 +64,5 @@ class array2d(Generic[T]): def find_bounding_rect(self, value: T) -> tuple[int, int, int, int]: """Finds the bounding rectangle of the given value. - Returns a tuple `(x, y, width, height)` or `None` if the value is not found. + Returns a tuple `(x, y, width, height)` or raise `ValueError` if the value is not found. """