]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
IDLE: Simplify DynOptionsMenu __init__code (GH-101371)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 28 Feb 2023 06:41:20 +0000 (22:41 -0800)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2023 06:41:20 +0000 (22:41 -0800)
commitd01cf5072be5511595b6d0c35ace6c1b07716f8d
tree2d9446c910b1bc1b66b7f611381c10d2feb1c102
parent1ef6e45f963852d0a4363c1d2e180dc27758c0ee
IDLE: Simplify DynOptionsMenu __init__code (GH-101371)

Refactor DynOptionMenu's initializer to not copy  kwargs dict and use subscripting;
improve its htest.

(cherry picked from commit c41af812c948ec3cb07b2ef7a46a238f5cab3dc2)

Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/dynoption.py