Commit f95eee0
committed
gh-XXXXX: Fix optparse._check_callback TypeError for tuple callback_kwargs
%r % tuple unpacks the tuple as multiple format args, raising TypeError
instead of OptionError. Wrap in a 1-tuple: % (value,).1 parent 5944a53 commit f95eee0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
| 707 | + | |
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
| |||
0 commit comments