bpo-38438: Simplify argparse "star nargs" usage. (GH-17106)

This commit is contained in:
Brandt Bucher 2019-11-11 12:47:48 -08:00 committed by Raymond Hettinger
parent 84ac437658
commit a0ed99bca8
6 changed files with 20 additions and 15 deletions

View file

@ -3903,7 +3903,7 @@ topics = {'assert': 'The "assert" statement\n'
'is\n'
' first hit. The arguments are the same as for "break".\n'
'\n'
'cl(ear) [filename:lineno | bpnumber [bpnumber ...]]\n'
'cl(ear) [filename:lineno | bpnumber ...]\n'
'\n'
' With a *filename:lineno* argument, clear all the breakpoints '
'at\n'
@ -3913,7 +3913,7 @@ topics = {'assert': 'The "assert" statement\n'
'first\n'
' ask confirmation).\n'
'\n'
'disable [bpnumber [bpnumber ...]]\n'
'disable [bpnumber ...]\n'
'\n'
' Disable the breakpoints given as a space separated list of\n'
' breakpoint numbers. Disabling a breakpoint means it cannot '
@ -3922,7 +3922,7 @@ topics = {'assert': 'The "assert" statement\n'
'breakpoint, it\n'
' remains in the list of breakpoints and can be (re-)enabled.\n'
'\n'
'enable [bpnumber [bpnumber ...]]\n'
'enable [bpnumber ...]\n'
'\n'
' Enable the breakpoints specified.\n'
'\n'