From c6513f7a627c8918a5e3f3733fa47d34a94ddff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9n=C3=A9dikt=20Tran?= <10796600+picnixz@users.noreply.github.com> Date: Sun, 2 Mar 2025 18:16:51 +0100 Subject: gh-128481: indicate that the default value for `FrameSummary.end_lineno` changed in 3.13 (#130755) The value taken by `FrameSummary.end_lineno` when passing `end_lineno=None` changed in gh-112097. Previously, a `end_lineno` could be specified to be `None` directly but since 939fc6d, passing None makes the constructor use the value of `lineno` instead. --- Doc/library/traceback.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst index 757fdf6..b5464ac 100644 --- a/Doc/library/traceback.rst +++ b/Doc/library/traceback.rst @@ -551,6 +551,9 @@ in a :ref:`traceback `. The last line number of the source code for this frame. By default, it is set to ``lineno`` and indexation starts from 1. + .. versionchanged:: 3.13 + The default value changed from ``None`` to ``lineno``. + .. attribute:: FrameSummary.colno The column number of the source code for this frame. -- cgit v0.12