Skip to content

Commit fbde2d8

Browse files
committed
Clear revert
1 parent 02f49db commit fbde2d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/tkinter/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ class Button(Widget):
12621262
font: _FontDescription = "TkDefaultFont",
12631263
foreground: str = ...,
12641264
# width and height must be int for buttons containing just text, but
1265-
# buttons with an image accept any screen units.
1265+
# ints are also valid _ScreenUnits
12661266
height: _ScreenUnits = 0,
12671267
highlightbackground: str = ...,
12681268
highlightcolor: str = ...,
@@ -1351,7 +1351,7 @@ class Canvas(Widget, XView, YView):
13511351
cursor: _Cursor = "",
13521352
# canvas manual page has a section named COORDINATES, and the first
13531353
# part of it describes _ScreenUnits.
1354-
height: _ScreenUnits = ..., # see COORDINATES in canvas manual page
1354+
height: _ScreenUnits = ...,
13551355
highlightbackground: str = ...,
13561356
highlightcolor: str = ...,
13571357
highlightthickness: _ScreenUnits = ...,

0 commit comments

Comments
 (0)