Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix sphinx warnings

--HG--
branch : feature-sphinx
  • Loading branch information...
commit 756944c8c03376abc8060ea5cc3fcbbf754d7cf6 1 parent f4cd3f5
@wardi authored
Showing with 10 additions and 5 deletions.
  1. +3 −1 urwid/container.py
  2. +7 −4 urwid/listbox.py
View
4 urwid/container.py
@@ -1355,7 +1355,9 @@ def get_focus(self):
focus_item = property(get_focus, set_focus, doc="""
A property for reading and setting the widget in focus.
- .. note:: only for backwards compatibility. You should use the new
+ .. note::
+
+ only for backwards compatibility. You should use the new
standard container properties :attr:`focus` and
:attr:`focus_position` to get the child widget in focus or modify the
focus position.
View
11 urwid/listbox.py
@@ -632,11 +632,14 @@ def _contents__getitem__(self, key):
walker as a `(widget, options)` tuple. `None` is currently the only
value for options.
- .. warning:: This object may not be used to set or iterate over contents.
- You must use the :obj:`list walker <ListWalker>` stored as
- :attr:`body` to perform manipulation and iteration, if supported.
+ .. warning::
+
+ This object may not be used to set or iterate over contents.
+
+ You must use the list walker stored as
+ :attr:`.body` to perform manipulation and iteration, if supported.
""")
-
+
def options(self):
"""
There are currently no options for ListBox contents.

0 comments on commit 756944c

Please sign in to comment.
Something went wrong with that request. Please try again.