summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configdialog.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2019-03-22 22:23:41 (GMT)
committerGitHub <noreply@github.com>2019-03-22 22:23:41 (GMT)
commitc1419578a18d787393c7ccee149e7c1fff17a99e (patch)
tree397ee6aabc58afb07ef4893676ba569f05cf7d3c /Lib/idlelib/configdialog.py
parent5086589305ff5538709856b27314b68f06ae93db (diff)
downloadcpython-c1419578a18d787393c7ccee149e7c1fff17a99e.zip
cpython-c1419578a18d787393c7ccee149e7c1fff17a99e.tar.gz
cpython-c1419578a18d787393c7ccee149e7c1fff17a99e.tar.bz2
bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)
This param was only used once and changed the return type.
Diffstat (limited to 'Lib/idlelib/configdialog.py')
-rw-r--r--Lib/idlelib/configdialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py
index 5fdaf82..31520a3 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]