We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 703ed36 commit 011b5b9Copy full SHA for 011b5b9
stubs/openpyxl/openpyxl/worksheet/cell_range.pyi
@@ -12,9 +12,7 @@ class CellRange(Serialisable):
12
min_row: MinMax[int, Literal[False]]
13
max_col: MinMax[int, Literal[False]]
14
max_row: MinMax[int, Literal[False]]
15
- # Could be None if the caller forgot to set title and range_string doesn't contain "!"
16
- # but that's not intended and will lead to errors (ie: can't be None in __str__)
17
- title: str
+ title: str | None
18
19
@overload
20
def __init__(
@@ -35,7 +33,7 @@ class CellRange(Serialisable):
35
33
min_row: _ConvertibleToInt,
36
34
max_col: _ConvertibleToInt,
37
max_row: _ConvertibleToInt,
38
- title: str,
+ title: str | None = None,
39
) -> None: ...
40
@property
41
def bounds(self): ...
0 commit comments