From 1c518ca670457f3bb1b16b67562e4d9ba9fc9875 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 8 May 2021 21:27:19 -0400 Subject: docs: add a word to clarify an API --- coverage/sqldata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/sqldata.py') diff --git a/coverage/sqldata.py b/coverage/sqldata.py index e1a6ee0c..41542969 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -870,7 +870,7 @@ class CoverageData(SimpleReprMixin): self._query_context_ids = None def lines(self, filename): - """Get the list of lines executed for a file. + """Get the list of lines executed for a source file. If the file was not measured, returns None. A file might be measured, and have no lines executed, in which case an empty list is returned. -- cgit v1.2.1