commit | e5edc8d737a45d9d8b9b93b8be52f85d79d0f417 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Jan 20 15:13:17 2022 -0800 |
committer | GitHub <noreply@github.com> | Thu Jan 20 15:13:17 2022 -0800 |
tree | 8448950dc9ab2057fdd805e4f821d9ea09104030 | |
parent | 876ade1ae3a805b546a211fd7303253c10395569 [diff] |
bpo-46080: fix argparse help generation exception in edge case (GH-30111) Fix an uncaught exception during help text generation when argparse.BooleanOptionalAction is used with default=argparse.SUPPRESS and help is specified. (cherry picked from commit 9e87c0e03fa501fb90008547983ce4c1dcaaf90c) Co-authored-by: Felix Fontein <felix@fontein.de>