diff --git a/coverage/parser.py b/coverage/parser.py index 2d255d943..401dfc217 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -449,8 +449,7 @@ def child_parsers(self) -> Iterable[ByteParser]: def _line_numbers(self) -> Iterable[TLineNo]: """Yield the line numbers possible in this code object. - Uses co_lnotab described in Python/compile.c to find the - line numbers. Produces a sequence: l0, l1, ... + Uses co_lines() to produce a sequence: l0, l1, ... """ for _, _, line in self.code.co_lines(): if line: