소스 검색

update docstring

blueloveTH 1 년 전
부모
커밋
9d02931c11
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/typings/array2d.pyi

+ 1 - 1
include/typings/array2d.pyi

@@ -64,5 +64,5 @@ class array2d(Generic[T]):
     def find_bounding_rect(self, value: T) -> tuple[int, int, int, int]:
     def find_bounding_rect(self, value: T) -> tuple[int, int, int, int]:
         """Finds the bounding rectangle of the given value.
         """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.
         """
         """