From 69c1705ca2451819fafbede27f04922a5b4f456a Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 17 Aug 2020 10:01:25 -0700 Subject: [PATCH] Fix typo in PEP 626 --- pep-0626.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0626.rst b/pep-0626.rst index ede99e8c8..424e5d85d 100644 --- a/pep-0626.rst +++ b/pep-0626.rst @@ -38,7 +38,7 @@ Rationale ========= In order to guarantee that line events are generated when expected, the ``co_lnotab`` attribute, in its current form, -can no longer be the soure of truth for line number information. +can no longer be the source of truth for line number information. Rather than attempt to fix the ``co_lnotab`` attribute, a new method ``co_lines()`` will be added, which returns an iterator over bytecode offsets and source code lines.