@@ -2066,7 +2066,7 @@ Base and mixin classes
20662066
20672067 .. method :: winfo_exists()
20682068
2069- Return ``1 `` if the widget exists, ``0 `` otherwise.
2069+ Return ``True `` if the widget exists, ``False `` otherwise.
20702070
20712071 .. method :: winfo_fpixels(number)
20722072
@@ -2115,7 +2115,7 @@ Base and mixin classes
21152115
21162116 .. method :: winfo_ismapped()
21172117
2118- Return ``1 `` if the widget is currently mapped, ``0 `` otherwise.
2118+ Return ``True `` if the widget is currently mapped, ``False `` otherwise.
21192119
21202120 .. method :: winfo_manager()
21212121
@@ -2246,8 +2246,8 @@ Base and mixin classes
22462246
22472247 .. method :: winfo_viewable()
22482248
2249- Return ``1 `` if the widget and all of its ancestors up through the
2250- nearest toplevel window are mapped, ``0 `` otherwise.
2249+ Return ``True `` if the widget and all of its ancestors up through the
2250+ nearest toplevel window are mapped, ``False `` otherwise.
22512251
22522252 .. method :: winfo_visual()
22532253
@@ -5737,7 +5737,7 @@ Widget classes
57375737 .. method :: edit_modified(arg=None)
57385738
57395739 If *arg * is omitted, return the current state of the modified flag as
5740- `` 0 `` or `` 1 ` `; the flag is set automatically whenever the text is
5740+ a :class: ` bool `; the flag is set automatically whenever the text is
57415741 inserted or deleted.
57425742 Otherwise set the flag to the boolean *arg *.
57435743
0 commit comments