Skip to content

Commit e757e27

Browse files
📜🤖 Added by blurb_it.
1 parent ec94729 commit e757e27

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fix :exc:`TypeError` in :mod:`optparse` when ``callback_kwargs`` is a
2+
non-dict (e.g. a tuple). The validation in ``Option._check_callback`` now
3+
correctly raises :exc:`~optparse.OptionError`.

0 commit comments

Comments
 (0)