mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
make canvas offset option optional (#4458)
This commit is contained in:
@@ -1008,7 +1008,7 @@ class Canvas(Widget, XView, YView):
|
||||
insertofftime: int = ...,
|
||||
insertontime: int = ...,
|
||||
insertwidth: _ScreenUnits = ...,
|
||||
offset: Any, # undocumented
|
||||
offset: Any = ..., # undocumented
|
||||
relief: _Relief = ...,
|
||||
# Setting scrollregion to None doesn't reset it back to empty,
|
||||
# but setting it to () does.
|
||||
@@ -1047,7 +1047,7 @@ class Canvas(Widget, XView, YView):
|
||||
insertofftime: int = ...,
|
||||
insertontime: int = ...,
|
||||
insertwidth: _ScreenUnits = ...,
|
||||
offset: Any, # undocumented
|
||||
offset: Any = ..., # undocumented
|
||||
relief: _Relief = ...,
|
||||
scrollregion: Union[Tuple[_ScreenUnits, _ScreenUnits, _ScreenUnits, _ScreenUnits], Tuple[()]] = ...,
|
||||
selectbackground: _Color = ...,
|
||||
|
||||
Reference in New Issue
Block a user