]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
IDLE: Simplify DynOptionsMenu __init__code (#101371)
authorJosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>
Tue, 28 Feb 2023 06:11:52 +0000 (06:11 +0000)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2023 06:11:52 +0000 (01:11 -0500)
commitc41af812c948ec3cb07b2ef7a46a238f5cab3dc2
tree6e8944b309fd7d9e824711ca71cca345f529ac90
parent0f89acf6cc4d4790f7b7a82165d0a6e7e84e4b72
IDLE: Simplify DynOptionsMenu __init__code (#101371)

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

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/dynoption.py