New submission from Terry J. Reedy <tjre...@udel.edu>:

The fgBg param of idlelib.config.GetHighlight() is used in only one idlelib 
call.  Two other places could use it, but instead subscript the returned dict.  
Remove the parameter, make the function always return a dict and not a color, 
and have the one fgBg call use a subscript.

----------
assignee: terry.reedy
components: IDLE
messages: 338580
nosy: terry.reedy
priority: normal
severity: normal
stage: commit review
status: open
title: Remove fgBg param of idlelib.config.GetHighlight()
type: enhancement
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36396>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to