diff options
author | Daniel Mach <daniel.mach@suse.com> | 2024-02-21 13:58:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 13:58:04 (GMT) |
commit | 5f7df88821347c5f44fc4e2c691e83a60a6c6cd5 (patch) | |
tree | 3568b8113372a6bcb9b6e7cce5f9da493339742b /Python/frame.c | |
parent | 4a9e6497c2cae40647589497e033b0b590a180ba (diff) | |
download | cpython-5f7df88821347c5f44fc4e2c691e83a60a6c6cd5.zip cpython-5f7df88821347c5f44fc4e2c691e83a60a6c6cd5.tar.gz cpython-5f7df88821347c5f44fc4e2c691e83a60a6c6cd5.tar.bz2 |
gh-96310: Fix a traceback in argparse when all options in a mutually exclusive group are suppressed (GH-96311)
Reproducer depends on terminal size - the traceback occurs when there's
an option long enough so the usage line doesn't fit the terminal width.
Option order is also important for reproducibility.
Excluding empty groups (with all options suppressed) from inserts
fixes the problem.
Diffstat (limited to 'Python/frame.c')
0 files changed, 0 insertions, 0 deletions