openpyxl: fix Worksheet.values annotation (#12674)

This commit is contained in:
Alexander Zinov
2024-09-17 18:14:06 +03:00
committed by GitHub
parent d3070c5845
commit 0015ce8855

View File

@@ -150,7 +150,7 @@ class Worksheet(_WorkbookChild):
@property
def rows(self) -> Generator[tuple[Cell, ...], None, None]: ...
@property
def values(self) -> Generator[tuple[_CellValue, ...], None, None]: ...
def values(self) -> Generator[tuple[_CellValue | None, ...]]: ...
@overload
def iter_cols(
self, min_col: int | None, max_col: int | None, min_row: int | None, max_row: int | None, values_only: Literal[True]