Fix typo in PEP 626
This commit is contained in:
parent
7d356ea4a1
commit
69c1705ca2
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue