mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-24 18:48:46 +08:00
Mark many attributes as read-only properties (#7591)
This commit is contained in:
@@ -66,7 +66,8 @@ class MergedCell(StyleableObject):
|
||||
row: Any
|
||||
column: Any
|
||||
def __init__(self, worksheet, row: Any | None = ..., column: Any | None = ...) -> None: ...
|
||||
coordinate: Any
|
||||
@property
|
||||
def coordinate(self): ...
|
||||
value: Any
|
||||
|
||||
def WriteOnlyCell(ws: Any | None = ..., value: Any | None = ...): ...
|
||||
|
||||
@@ -5,8 +5,10 @@ def read_dimension(source): ...
|
||||
class ReadOnlyWorksheet:
|
||||
cell: Any
|
||||
iter_rows: Any
|
||||
values: Any
|
||||
rows: Any
|
||||
@property
|
||||
def values(self): ...
|
||||
@property
|
||||
def rows(self): ...
|
||||
__getitem__: Any
|
||||
__iter__: Any
|
||||
parent: Any
|
||||
|
||||
@@ -7,13 +7,16 @@ class WriteOnlyWorksheet(_WorkbookChild):
|
||||
add_chart: Any
|
||||
add_image: Any
|
||||
add_table: Any
|
||||
tables: Any
|
||||
print_titles: Any
|
||||
@property
|
||||
def tables(self): ...
|
||||
@property
|
||||
def print_titles(self): ...
|
||||
print_title_cols: Any
|
||||
print_title_rows: Any
|
||||
freeze_panes: Any
|
||||
print_area: Any
|
||||
sheet_view: Any
|
||||
@property
|
||||
def sheet_view(self): ...
|
||||
def __init__(self, parent, title) -> None: ...
|
||||
@property
|
||||
def closed(self): ...
|
||||
|
||||
@@ -6,7 +6,8 @@ from .cell_range import CellRange
|
||||
|
||||
class MergeCell(CellRange):
|
||||
tagname: str
|
||||
ref: Any
|
||||
@property
|
||||
def ref(self): ...
|
||||
__attrs__: Any
|
||||
def __init__(self, ref: Any | None = ...) -> None: ...
|
||||
def __copy__(self): ...
|
||||
|
||||
@@ -32,7 +32,9 @@ PageBreak = RowBreak
|
||||
|
||||
class ColBreak(RowBreak):
|
||||
tagname: str
|
||||
count: Any
|
||||
manualBreakCount: Any
|
||||
@property
|
||||
def count(self): ...
|
||||
@property
|
||||
def manualBreakCount(self): ...
|
||||
brk: Any
|
||||
__attrs__: Any
|
||||
|
||||
Reference in New Issue
Block a user