Skip to content

Commit b545299

Browse files
committed
Modify as reviewer suggested
1 parent 01a1727 commit b545299

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Doc/library/traceback.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,9 @@ the module-level functions described above.
503503
A :class:`!FrameSummary` object represents a single :ref:`frame <frame-objects>`
504504
in a :ref:`traceback <traceback-objects>`.
505505

506-
.. class:: FrameSummary(filename, lineno, name, lookup_line=True, locals=None, line=None, end_lineno=None, colno=None, end_colno=None)
506+
.. class:: FrameSummary(filename, lineno, name, *,\
507+
lookup_line=True, locals=None, \
508+
line=None, end_lineno=None, colno=None, end_colno=None)
507509

508510
Represents a single :ref:`frame <frame-objects>` in the
509511
:ref:`traceback <traceback-objects>` or stack that is being formatted
@@ -542,14 +544,17 @@ in a :ref:`traceback <traceback-objects>`.
542544
.. attribute:: FrameSummary.end_lineno
543545

544546
The last line number of the source code for this frame.
547+
By default, it is ``None`` and is 1-index base.
545548

546549
.. attribute:: FrameSummary.colno
547550

548551
The column number of the source code for this frame.
552+
By default, it is ``None`` and is 1-index base.
549553

550554
.. attribute:: FrameSummary.end_colno
551555

552556
The last column number of the source code for this frame.
557+
By default, it is ``None`` and is 1-index base.
553558

554559
.. _traceback-example:
555560

0 commit comments

Comments
 (0)