Improve docstrings for sphinx.
[python_utils.git] / waitable_presence.py
index 6473add5b2f7f4fb023e03a71342c93a4b2aacd5..9d79c6c5d61e1065f1444670c3ce24c1b9b7cd0f 100644 (file)
@@ -5,7 +5,6 @@
 """A PresenceDetector that is waitable.  This is not part of
 base_presence.py because I do not want to bring these dependencies
 into that lower-level module (especially state_tracker).
-
 """
 
 import datetime
@@ -26,7 +25,7 @@ class WaitablePresenceDetectorWithMemory(state_tracker.WaitableAutomaticStateTra
     """
     This is a waitable class that keeps a PresenceDetector internally
     and periodically polls it to detect changes in presence in a
-    particular location.  Example suggested usage pattern:
+    particular location.  Example suggested usage pattern::
 
         detector = waitable_presence.WaitablePresenceDetectorWithMemory(60.0)
         while True: