summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-22 18:33:06 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-22 18:33:06 +0100
commite01cb49d35e5062afb7fe159c8777f74e02aeceb (patch)
tree826eaeaab289dab9832c72b8e882d72bde208c4c /kconfiglib.py
parent27fbded9b4b1b0e7488aeabd4d07471d7f034e0e (diff)
Mention user_value in the load_config() docstring
Can be handy to check which symbols got set, like merge_config.py does.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 59869e3..f1a254d 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -686,6 +686,11 @@ class Kconfig(object):
"# CONFIG_FOO is not set" within a .config file sets the user value of
FOO to n. The C tools work the same way.
+ The Symbol.user_value attribute can be inspected afterwards to see what
+ value the symbol was assigned in the .config file (if any). The user
+ value might differ from Symbol.str/tri_value if there are unsatisfied
+ dependencies.
+
filename:
The file to load. Respects $srctree if set (see the class
documentation).