summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-05-08 21:27:19 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-05-08 21:27:19 -0400
commit1c518ca670457f3bb1b16b67562e4d9ba9fc9875 (patch)
treef16a619867ad37cc97821348b6c6a704601ced54
parentc776c901aa9b3214be815ceee9f179f47bcd86d8 (diff)
downloadpython-coveragepy-git-1c518ca670457f3bb1b16b67562e4d9ba9fc9875.tar.gz
docs: add a word to clarify an API
-rw-r--r--coverage/sqldata.py2
1 files changed, 1 insertions, 1 deletions
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.