]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45000: Update whatsnews about deleting __debug__ (GH-27956)
authorDong-hee Na <donghee.na@python.org>
Thu, 26 Aug 2021 00:36:16 +0000 (00:36 +0000)
committerGitHub <noreply@github.com>
Thu, 26 Aug 2021 00:36:16 +0000 (09:36 +0900)
Doc/whatsnew/3.10.rst
Doc/whatsnew/3.11.rst

index 6040daaf8f846d92967d938e4a9ebedd8161b752..70c5140ce13b55bcbf41d6a051c6cf3589423b5a 100644 (file)
@@ -883,6 +883,8 @@ Other Language Changes
   collisions when creating dictionaries and sets containing multiple NaNs.
   (Contributed by Raymond Hettinger in :issue:`43475`.)
 
+*  A :exc:`SyntaxError` (instead of a :exc:`NameError`) will be raised when deleting the :const:`__debug__` constant. (Contributed by Dong-hee Na in :issue:`45000`.)
+
 New Modules
 ===========
 
index 296b1b279d09bb21b1f6afe20f8ba34f80d50f60..306385c2a90aaf93ea422b2ef02dbc58ada2327b 100644 (file)
@@ -176,8 +176,6 @@ Other CPython Implementation Changes
   support :class:`typing.SupportsComplex` and :class:`typing.SupportsBytes` protocols.
   (Contributed by Mark Dickinson and Dong-hee Na in :issue:`24234`.)
 
-*  A :exc:`SyntaxError` (instead of a :exc:`NameError`) will be raised when deleting the :const:`__debug__` constant. (Contributed by Dong-hee Na in :issue:`45000`.)
-
 
 New Modules
 ===========