Skip to content

Commit c6513f7

Browse files
authored
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.
1 parent a42168d commit c6513f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/traceback.rst

+3
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,9 @@ in a :ref:`traceback <traceback-objects>`.
551551
The last line number of the source code for this frame.
552552
By default, it is set to ``lineno`` and indexation starts from 1.
553553

554+
.. versionchanged:: 3.13
555+
The default value changed from ``None`` to ``lineno``.
556+
554557
.. attribute:: FrameSummary.colno
555558

556559
The column number of the source code for this frame.

0 commit comments

Comments
 (0)