From f3aec07cf475a8b1347559dae147b974de2012c5 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 11 May 2018 02:34:37 +0200 Subject: menucomment: Comment clarity nit --- menuconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'menuconfig.py') 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 # (, ) 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, -- cgit v1.2.3