[New-bugs-announce] [issue36405] Use dict unpacking in idlelib

Terry J. Reedy report at bugs.python.org
Sat Mar 23 01:43:09 EDT 2019


New submission from Terry J. Reedy <tjreedy at 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 <report at bugs.python.org>
<https://bugs.python.org/issue36405>
_______________________________________


More information about the New-bugs-announce mailing list