summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-08 15:22:35 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-08 15:22:35 +0200
commitd60e22ebcd32bc8b231c125fef7e74435214cc1e (patch)
tree6f1b3d6d48d95030fa050c97aab4f3df07cdfdc1
parentd959eb244020609f7dbd382e6b3cf800110a463f (diff)
Explain Nones in _make_and()'s docstring.
-rw-r--r--kconfiglib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 5b6dcb7..850827d 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1782,6 +1782,8 @@ class Config(object):
def _make_and(e1, e2):
"""Constructs an AND (&&) expression. Performs trivial simplification.
+ Nones equate to 'y'.
+
Note: returns None if e1 == e2 == None."""
if e1 == "n" or e2 == "n":
return "n"