Skip to content

Commit 5bbeb70

Browse files
committed
modify document as reviewer suggested
1 parent b545299 commit 5bbeb70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/traceback.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ A :class:`!FrameSummary` object represents a single :ref:`frame <frame-objects>`
504504
in a :ref:`traceback <traceback-objects>`.
505505

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

510510
Represents a single :ref:`frame <frame-objects>` in the
@@ -544,17 +544,17 @@ in a :ref:`traceback <traceback-objects>`.
544544
.. attribute:: FrameSummary.end_lineno
545545

546546
The last line number of the source code for this frame.
547-
By default, it is ``None`` and is 1-index base.
547+
By default, it is ``None`` and indexation starts from 1.
548548

549549
.. attribute:: FrameSummary.colno
550550

551551
The column number of the source code for this frame.
552-
By default, it is ``None`` and is 1-index base.
552+
By default, it is ``None`` and indexation starts from 1.
553553

554554
.. attribute:: FrameSummary.end_colno
555555

556556
The last column number of the source code for this frame.
557-
By default, it is ``None`` and is 1-index base.
557+
By default, it is ``None`` and indexation starts from 1.
558558

559559
.. _traceback-example:
560560

0 commit comments

Comments
 (0)