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

Replace 3 occurrences of 'd = d1.copy(); d.update(d2)' pattern with 'd = {**d1, 
**d2}'.  Also remove unnecessary imports and uses of __main__.

----------
assignee: terry.reedy
components: IDLE
messages: 338643
nosy: terry.reedy
priority: normal
severity: normal
stage: commit review
status: open
title: Use dict unpacking in idlelib
type: enhancement
versions: Python 3.7, Python 3.8

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

Reply via email to