You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Doc/whatsnew/3.10.rst
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -883,7 +883,12 @@ Other Language Changes
883
883
collisions when creating dictionaries and sets containing multiple NaNs.
884
884
(Contributed by Raymond Hettinger in :issue:`43475`.)
885
885
886
-
* 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`.)
886
+
* A :exc:`SyntaxError` (instead of a :exc:`NameError`) will be raised when deleting
887
+
the :const:`__debug__` constant. (Contributed by Dong-hee Na in :issue:`45000`.)
888
+
889
+
* :exc:`SyntaxError` exceptions now have ``end_lineno``and
890
+
``end_offset`` attributes. They will be ``None``ifnot determined.
0 commit comments