bpo-26510: make argparse subparsers required by default (#3027)
This fixes a regression from Python 2. To get optional subparsers, use the new parameter ``add_subparsers(required=False)``. Patch by Anthony Sottile.
A
Anthony Sottile committed
aaf6fc0982c916cb71d9e0afcd7dda4ba495793b
Parent: 19e4d93
Committed by Éric Araujo <merwok@users.noreply.github.com>
on 9/20/2017, 9:35:27 PM