mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
Removed bbox comment in Misc (#4892)
This commit is contained in:
@@ -388,8 +388,7 @@ class Misc:
|
||||
def grid_bbox(self, column: int, row: int, col2: None = ..., row2: None = ...) -> Optional[Tuple[int, int, int, int]]: ...
|
||||
@overload
|
||||
def grid_bbox(self, column: int, row: int, col2: int, row2: int) -> Optional[Tuple[int, int, int, int]]: ...
|
||||
# commented out to avoid conflicting with other bbox methods
|
||||
# bbox = grid_bbox
|
||||
bbox = grid_bbox
|
||||
def grid_columnconfigure(self, index, cnf=..., **kw): ... # TODO
|
||||
def grid_rowconfigure(self, index, cnf=..., **kw): ... # TODO
|
||||
columnconfigure = grid_columnconfigure
|
||||
@@ -2655,7 +2654,7 @@ class Text(Widget, XView, YView):
|
||||
def configure(self, cnf: _TextOptionName) -> Tuple[str, str, str, Any, Any]: ...
|
||||
config = configure
|
||||
def cget(self, key: _TextOptionName) -> Any: ...
|
||||
def bbox(self, index: _TextIndex) -> Optional[Tuple[int, int, int, int]]: ...
|
||||
def bbox(self, index: _TextIndex) -> Optional[Tuple[int, int, int, int]]: ... # type: ignore
|
||||
def compare(self, index1: _TextIndex, op: Literal["<", "<=", "==", ">=", ">", "!="], index2: _TextIndex) -> bool: ...
|
||||
def count(self, index1, index2, *args): ... # TODO
|
||||
@overload
|
||||
|
||||
@@ -1150,7 +1150,7 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
|
||||
def configure(self, cnf: _TreeviewOptionName) -> Tuple[str, str, str, Any, Any]: ...
|
||||
config = configure
|
||||
def cget(self, key: _TreeviewOptionName) -> Any: ...
|
||||
def bbox(self, item, column: Optional[Any] = ...): ...
|
||||
def bbox(self, item, column: Optional[Any] = ...): ... # type: ignore
|
||||
def get_children(self, item: Optional[Any] = ...): ...
|
||||
def set_children(self, item, *newchildren): ...
|
||||
def column(self, column, option: Optional[Any] = ..., **kw): ...
|
||||
|
||||
Reference in New Issue
Block a user