summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/whatsnew/3.10.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 21cc56e..c11fe41 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -883,7 +883,12 @@ 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`.)
+* 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`.)
+
+* :exc:`SyntaxError` exceptions now have ``end_lineno`` and
+ ``end_offset`` attributes. They will be ``None`` if not determined.
+ (Contributed by Pablo Galindo in :issue:`43914`.)
New Modules
===========