]> granicus.if.org Git - python/commitdiff
bpo-33109: Remove now-obsolete What's New entry for bpo-26510. (GH-7609) (GH-7610)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Jun 2018 02:30:57 +0000 (19:30 -0700)
committerNed Deily <nad@python.org>
Mon, 11 Jun 2018 02:30:57 +0000 (22:30 -0400)
(cherry picked from commit ef057bfb06cae0718e6d708061649d2e3983e2ef)

Co-authored-by: Ned Deily <nad@python.org>
Doc/whatsnew/3.7.rst

index fce073ec172f1449b5c63bf90d68427fa63da768..81ef032f9377e2290aa177eaa760563477ab1420 100644 (file)
@@ -2340,12 +2340,6 @@ Changes in the Python API
   instead of a :class:`bytes` instance.
   (Contributed by Victor Stinner in :issue:`21071`.)
 
-* :mod:`argparse` subparsers are now required by default.  This matches the
-  behaviour in Python 2.  To add an optional subparser, pass
-  ``required=False`` to
-  :meth:`ArgumentParser.add_subparsers() <argparse.ArgumentParser.add_subparsers>`.
-  (Contributed by Anthony Sottile in :issue:`26510`.)
-
 * :meth:`ast.literal_eval()` is now stricter.  Addition and subtraction of
   arbitrary numbers are no longer allowed.
   (Contributed by Serhiy Storchaka in :issue:`31778`.)