]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-99749: Add What's New entry for GH-124456 (GH-125671)
authorSavannah Ostrowski <savannahostrowski@gmail.com>
Sat, 19 Oct 2024 08:26:46 +0000 (01:26 -0700)
committerGitHub <noreply@github.com>
Sat, 19 Oct 2024 08:26:46 +0000 (11:26 +0300)
Doc/whatsnew/3.14.rst

index feb65f244827ad329910235c70f4b8c8819ee5b2..ad841538ccc547ba5bb0e13e82d237282da8e34e 100644 (file)
@@ -210,6 +210,11 @@ argparse
   interpreter was instructed to find the ``__main__`` module code.
   (Contributed by Serhiy Storchaka and Alyssa Coghlan in :gh:`66436`.)
 
+* Introduced the optional *suggest_on_error* parameter to
+  :class:`argparse.ArgumentParser`, enabling suggestions for argument choices
+  and subparser names if mistyped by the user.
+  (Contributed by Savannah Ostrowski in :gh:`124456`)
+
 ast
 ---