]> 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:36:34 +0000 (22:36 -0800)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2023 06:36:34 +0000 (22:36 -0800)
commit2701a49df2a4ce3284f500bf8ababb172216f8cc
treeff38dcc648b2edc954e04642465f87f863a74eec
parentca1cc1484f3045e7f4472be56383de2597437fc3
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