Skip to content
This repository
Browse code

fix sphinx warnings

--HG--
branch : feature-sphinx
  • Loading branch information...
commit 756944c8c03376abc8060ea5cc3fcbbf754d7cf6 1 parent f4cd3f5
Ian Ward authored July 14, 2012
4  urwid/container.py
@@ -1355,7 +1355,9 @@ def get_focus(self):
1355 1355
     focus_item = property(get_focus, set_focus, doc="""
1356 1356
         A property for reading and setting the widget in focus.
1357 1357
 
1358  
-        .. note:: only for backwards compatibility. You should use the new
  1358
+        .. note::
  1359
+
  1360
+            only for backwards compatibility. You should use the new
1359 1361
             standard container properties :attr:`focus` and
1360 1362
             :attr:`focus_position` to get the child widget in focus or modify the
1361 1363
             focus position.
11  urwid/listbox.py
@@ -632,11 +632,14 @@ def _contents__getitem__(self, key):
632 632
         walker as a `(widget, options)` tuple. `None` is currently the only
633 633
         value for options.
634 634
 
635  
-        .. warning:: This object may not be used to set or iterate over contents.
636  
-            You must use the :obj:`list walker <ListWalker>` stored as
637  
-            :attr:`body` to perform manipulation and iteration, if supported.
  635
+        .. warning::
  636
+
  637
+            This object may not be used to set or iterate over contents.
  638
+
  639
+            You must use the list walker stored as
  640
+            :attr:`.body` to perform manipulation and iteration, if supported.
638 641
         """)
639  
-    
  642
+
640 643
     def options(self):
641 644
         """
642 645
         There are currently no options for ListBox contents.

0 notes on commit 756944c

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