summaryrefslogtreecommitdiff
path: root/gbp/tristate.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-08-22 10:22:37 +0200
committerGuido Günther <agx@sigxcpu.org>2013-08-22 10:22:37 +0200
commitd0fb6d86201d04fb9194119239ccc212302a1b6f (patch)
treecadda961bb160b42eed437396b2911620445b0a9 /gbp/tristate.py
parent938e4cd25d47a0b9230a14e55724a5c3912e2359 (diff)
Minor docstring updates
Diffstat (limited to 'gbp/tristate.py')
-rw-r--r--gbp/tristate.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gbp/tristate.py b/gbp/tristate.py
index 6e26c82..9361060 100644
--- a/gbp/tristate.py
+++ b/gbp/tristate.py
@@ -15,6 +15,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+"""
+A switch with three states: on|off|auto
+"""
+
class Tristate(object):
"""Tri-state value: on, off or auto """
ON = True # state is on == do it