summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gmail.com>2023-03-28 13:11:13 -0400
committerGitHub <noreply@github.com>2023-03-28 19:11:13 +0200
commit3e6b5e6576cc2d3b06b25689d8a3c05cb4a98ae2 (patch)
treed1b4384cb70a647e1c160845a1c02a5102844e3d
parent6d2393bbeed3757eea6cbb4b33a14cb9960e597d (diff)
downloadurwid-3e6b5e6576cc2d3b06b25689d8a3c05cb4a98ae2.tar.gz
container: fix duplicate text (#490)
-rwxr-xr-xurwid/container.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/urwid/container.py b/urwid/container.py
index 4e4e691..af52a83 100755
--- a/urwid/container.py
+++ b/urwid/container.py
@@ -191,8 +191,8 @@ class GridFlow(WidgetWrap, WidgetContainerMixin, WidgetContainerListContentsMixi
A list of the widgets in this GridFlow
.. note:: only for backwards compatibility. You should use the new
- use the new standard container property :attr:`contents` to modify
- GridFlow contents.
+ standard container property :attr:`contents` to modify GridFlow
+ contents.
""")
def _get_cell_width(self):
@@ -276,9 +276,9 @@ class GridFlow(WidgetWrap, WidgetContainerMixin, WidgetContainerListContentsMixi
The widget in focus, for backwards compatibility.
.. note:: only for backwards compatibility. You should use the new
- use the new standard container property :attr:`focus` to get the
- widget in focus and :attr:`focus_position` to get/set the cell in
- focus by index.
+ standard container property :attr:`focus` to get the widget in
+ focus and :attr:`focus_position` to get/set the cell in focus by
+ index.
""")
def _get_focus_position(self):