Commit 71058d2
committed
argparse subnamespace: Make 'subnamespace' explicit in signature of
Instead of it being mixed into kwargs, we keep 'subnamespace' separate
like 'deprecated'.
This makes it clearer that 'subnamespace' isn't intended as a parameter
to be passed to the subparser constructor._SubParsersAction.add_parser
1 parent 6ed63b3 commit 71058d2
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
1320 | | - | |
| 1320 | + | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
1324 | 1324 | | |
1325 | | - | |
1326 | | - | |
1327 | 1325 | | |
1328 | 1326 | | |
1329 | 1327 | | |
| |||
1352 | 1350 | | |
1353 | 1351 | | |
1354 | 1352 | | |
1355 | | - | |
1356 | | - | |
| 1353 | + | |
| 1354 | + | |
1357 | 1355 | | |
1358 | 1356 | | |
1359 | 1357 | | |
| |||
0 commit comments