From e01cb49d35e5062afb7fe159c8777f74e02aeceb Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 22 Jan 2018 18:33:06 +0100 Subject: Mention user_value in the load_config() docstring Can be handy to check which symbols got set, like merge_config.py does. --- kconfiglib.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kconfiglib.py') 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). -- cgit v1.2.3