Skip to content

Commit 2a55074

Browse files
gh-72880: Use semantic line breaks in the fontchooser docs
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 58d2f4a commit 2a55074

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

Doc/library/tkinter.fontchooser.rst

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ The dialog also generates two virtual events on the parent window
3535

3636
.. note::
3737

38-
The *command* callback is the only reliable way to obtain the
39-
selected font.
40-
On some platforms the *font* option is not updated to the user's
41-
choice.
38+
The *command* callback is the only reliable way to obtain the selected font.
39+
On some platforms the *font* option is not updated to the user's choice.
4240

4341
.. class:: FontChooser(master=None, **options)
4442

@@ -50,20 +48,18 @@ The dialog also generates two virtual events on the parent window
5048

5149
The supported configuration options are:
5250

53-
* *parent* --- the window to which the dialog and its virtual events
54-
are related.
51+
* *parent* --- the window to which the dialog and its virtual events are related.
5552
It defaults to the main window;
5653
on macOS the dialog is shown as a sheet attached to it,
5754
rather than as a free-standing panel.
5855
* *title* --- the title of the dialog.
5956
* *font* --- the font that is currently selected in the dialog.
60-
* *command* --- a callback that is called with a
61-
:class:`~tkinter.font.Font` object wrapping the selected font when
62-
the user selects a font.
57+
* *command* --- a callback that is called
58+
with a :class:`~tkinter.font.Font` object wrapping the selected font
59+
when the user selects a font.
6360
* *visible* --- whether the dialog is currently displayed (read-only).
6461

65-
The *font* option accepts the forms supported by
66-
:class:`tkinter.font.Font`.
62+
The *font* option accepts the forms supported by :class:`tkinter.font.Font`.
6763

6864
.. method:: configure(**options)
6965
config(**options)

0 commit comments

Comments
 (0)