Skip to content

Commit d990126

Browse files
Merge branch 'fix/optparse_callback_kwargs_typeerror' of https://github.com/stefanzetzsche/cpython into fix/optparse_callback_kwargs_typeerror
2 parents a27f627 + 578a3b6 commit d990126

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
:mod:`optparse`: raise :exc:`~optparse.OptionError` instead of :exc:`TypeError`
2+
when ``callback_kwargs`` is not a dictionary.

0 commit comments

Comments
 (0)