From c1419578a18d787393c7ccee149e7c1fff17a99e Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 22 Mar 2019 18:23:41 -0400 Subject: bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491) This param was only used once and changed the return type. --- Lib/idlelib/configdialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/idlelib/configdialog.py') diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index 5fdaf82de4d..31520a3b0d1 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -1252,7 +1252,7 @@ class HighPage(Frame): colors = idleConf.GetHighlight(theme, element) if element == 'cursor': # Cursor sample needs special painting. colors['background'] = idleConf.GetHighlight( - theme, 'normal', fgBg='bg') + theme, 'normal')['background'] # Handle any unsaved changes to this theme. if theme in changes['highlight']: theme_dict = changes['highlight'][theme] -- cgit v1.2.3