diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-01-22 18:33:06 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-01-22 18:33:06 +0100 |
| commit | e01cb49d35e5062afb7fe159c8777f74e02aeceb (patch) | |
| tree | 826eaeaab289dab9832c72b8e882d72bde208c4c /kconfiglib.py | |
| parent | 27fbded9b4b1b0e7488aeabd4d07471d7f034e0e (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.py | 5 |
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). |
