Skip to content

Commit 124821b

Browse files
Add whatsnew for suggest_on_error
1 parent 77cebb1 commit 124821b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,12 @@ argparse
210210
interpreter was instructed to find the ``__main__`` module code.
211211
(Contributed by Serhiy Storchaka and Alyssa Coghlan in :gh:`66436`.)
212212

213+
* Introduced the optional *suggest_on_error* parameter to
214+
:class:`argparse.ArgumentParser`, enabling suggestions for argument choices
215+
and subparser names if mistyped by the user.
216+
(Contributed by Savannah Ostrowski in :gh:`124456`)
217+
218+
213219
ast
214220
---
215221

0 commit comments

Comments
 (0)