Skip to content

Commit

Permalink
Double backticks in comments referencing code
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Aug 14, 2024
1 parent d5980f4 commit a96f577
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/examples_ScrollableAreaQt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def grid_of_widgets(self, window):
# Create a scrollable area.
scrollable_area = ScrollableAreaQt5()

# Add widgets to the `area` attribute of the scrollable area, not to
# Add widgets to the ``area`` attribute of the scrollable area, not to
# the scrollable area itself.
dim = 10
grid_layout = QGridLayout(scrollable_area.area)
Expand Down
2 changes: 1 addition & 1 deletion examples/examples_ScrollableAreaQt6.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def grid_of_widgets(self, window):
# Create a scrollable area.
scrollable_area = ScrollableAreaQt6()

# Add widgets to the `area` attribute of the scrollable area, not to
# Add widgets to the ``area`` attribute of the scrollable area, not to
# the scrollable area itself.
dim = 10
grid_layout = QGridLayout(scrollable_area.area)
Expand Down
4 changes: 2 additions & 2 deletions examples/examples_ScrollableFrameTk.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def grid_of_widgets(self, window):
# Create a scrollable frame.
scrollable_frame = ScrollableFrameTk(window)

# Add widgets to the `frame` attribute of the scrollable frame, not to
# the scrollable frame itself.
# Add widgets to the ``frame`` attribute of the scrollable frame, not
# to the scrollable frame itself.
dim = 10
for i, j in itertools.product(range(dim), repeat=2):
label = ttk.Label(scrollable_frame.frame, text=f"Label\n({i}, {j})")
Expand Down
4 changes: 2 additions & 2 deletions examples/examples_ScrollablePanelWx.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def grid_of_widgets(self, window):
# Create a scrollable panel.
scrollable_panel = ScrollablePanelWx(window)

# Add widgets to the `panel` attribute of the scrollable panel, not to
# the scrollable panel itself.
# Add widgets to the ``panel`` attribute of the scrollable panel, not
# to the scrollable panel itself.
dim = 10
grid_sizer = wx.GridSizer(dim, dim, 20, 20)
for i, j in itertools.product(range(dim), repeat=2):
Expand Down

0 comments on commit a96f577

Please sign in to comment.