diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-08 21:27:19 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-08 21:27:19 -0400 |
commit | 1c518ca670457f3bb1b16b67562e4d9ba9fc9875 (patch) | |
tree | f16a619867ad37cc97821348b6c6a704601ced54 /coverage/sqldata.py | |
parent | c776c901aa9b3214be815ceee9f179f47bcd86d8 (diff) | |
download | python-coveragepy-git-1c518ca670457f3bb1b16b67562e4d9ba9fc9875.tar.gz |
docs: add a word to clarify an API
Diffstat (limited to 'coverage/sqldata.py')
-rw-r--r-- | coverage/sqldata.py | 2 |
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. |