File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1215,10 +1215,10 @@ def __init__(
1215
1215
behavior on this parser. If this is None or not present, then cmd2 will use
1216
1216
argparse_completer.DEFAULT_AP_COMPLETER when tab completing this parser's arguments
1217
1217
"""
1218
- kw_args : dict [str , bool ] = {}
1218
+ kwargs : dict [str , bool ] = {}
1219
1219
if sys .version_info >= (3 , 14 ):
1220
1220
# Python >= 3.14 so pass new arguments to parent argparse.ArgumentParser class
1221
- kw_args = {
1221
+ kwargs = {
1222
1222
"suggest_on_error" : suggest_on_error ,
1223
1223
"color" : color ,
1224
1224
}
@@ -1237,7 +1237,7 @@ def __init__(
1237
1237
add_help = add_help ,
1238
1238
allow_abbrev = allow_abbrev ,
1239
1239
exit_on_error = exit_on_error , # added in Python 3.9
1240
- ** kw_args , # added in Python 3.14
1240
+ ** kwargs , # added in Python 3.14
1241
1241
)
1242
1242
1243
1243
self .set_ap_completer_type (ap_completer_type ) # type: ignore[attr-defined]
You can’t perform that action at this time.
0 commit comments