lib/bb/data.py:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 26 Feb 2006 09:37:26 +0000 (09:37 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 26 Feb 2006 09:37:26 +0000 (09:37 +0000)
    Document the weird semantic of the setVarFlags. It behaves
    more like an addVarFlags call. Existing variables are not
    going to be removed.

lib/bb/data.py

index b7d707a..72d0bb0 100644 (file)
@@ -211,6 +211,11 @@ def delVarFlag(var, flag, d):
 def setVarFlags(var, flags, d):
     """Set the flags for a given variable
 
+    Note:
+        setVarFlags will not clear previous
+        flags. Think of this method as
+        addVarFlags
+
     Example:
         >>> d = init()
         >>> myflags = {}