Fix typo in PEP 626

This commit is contained in:
Barry Warsaw 2020-08-17 10:01:25 -07:00 committed by GitHub
parent 7d356ea4a1
commit 69c1705ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ Rationale
========= =========
In order to guarantee that line events are generated when expected, the ``co_lnotab`` attribute, in its current form, 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 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. ``co_lines()`` will be added, which returns an iterator over bytecode offsets and source code lines.