Skip to content

Commit 84074a4

Browse files
GH-99749: Add What's New entry for GH-124456 (GH-125671)
1 parent 2bb7ab7 commit 84074a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ 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+
213218
ast
214219
---
215220

0 commit comments

Comments
 (0)