diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-11 02:34:37 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-11 02:34:37 +0200 |
| commit | f3aec07cf475a8b1347559dae147b974de2012c5 (patch) | |
| tree | 235a944225ed30688ce17cdb4d190385596bcaba | |
| parent | 1f2e2d014bad6ce028048aaca36118377d70640f (diff) | |
menucomment: Comment clarity nit
| -rwxr-xr-x | menuconfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/menuconfig.py b/menuconfig.py index 230547d..097abbb 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -217,8 +217,8 @@ def _init_styles(): # color_attribs holds the color pairs we've already created, indexed by a # (<foreground color>, <background color>) tuple. # -# Obscure Python: We never pass a value for color_attribs, so it keeps pointing -# to the same dict. This avoids a global. +# Obscure Python: We never pass a value for color_attribs, and it keeps +# pointing to the same dict. This avoids a global. def _style(fg_color, bg_color, attribs, no_color_extra_attribs=0, color_attribs={}): # Returns an attribute with the specified foreground and background color @@ -1434,7 +1434,7 @@ def _jump_to_dialog(): s, s_i, hscroll = _edit_text(c, s, s_i, hscroll, edit_box.getmaxyx()[1] - 2) -# Obscure Python: We never pass a value for cached_search_strings, so it keeps +# Obscure Python: We never pass a value for cached_search_strings, and it keeps # pointing to the same list. This avoids a global. def _search_strings(cached_search_strings=[]): # Returns a list with (node, node_string) tuples for all symbol menu nodes, |
