diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-01-22 05:16:43 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-01-22 05:16:43 +0100 |
| commit | 27fbded9b4b1b0e7488aeabd4d07471d7f034e0e (patch) | |
| tree | f47ad677768a3b165e1dcd256645af414dc474a4 | |
| parent | 121d4a78475837331e74a967b72b09dd868e468d (diff) | |
Fix outdated comments referencing user_str/tri_value
Ended up with just user_value in the end before releasing Kconfiglib 2.
| -rw-r--r-- | kconfiglib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 405d5c2..59869e3 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2643,7 +2643,7 @@ class Symbol(object): Equal in effect to assigning the value to the symbol within a .config file. For bool and tristate symbols, use the 'assignable' attribute to check which values can currently be assigned. Setting values outside - 'assignable' will cause Symbol.user_str/tri_value to differ from + 'assignable' will cause Symbol.user_value to differ from Symbol.str/tri_value (be truncated down or up). Setting a choice symbol to 2 (y) only updates Choice.user_selection on @@ -2661,7 +2661,7 @@ class Symbol(object): pass a string. Values that are invalid for the type (such as "foo" or 1 (m) for a - BOOL) are ignored and won't be stored in Symbol.user_str/tri_value. + BOOL) are ignored and won't be stored in Symbol.user_value. Kconfiglib will print a warning by default for invalid assignments, and set_value() will return False. |
