summaryrefslogtreecommitdiff
path: root/coverage/python.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-09 12:20:02 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-09 12:20:02 -0400
commitf5340981f611c102bac62c724543e7ff7ff6cb8a (patch)
tree4c5d3b5efc805d909f20cfbf0928b1ecd88c22d3 /coverage/python.py
parentf703ae86ce82834205e791d0c138f901494ddad0 (diff)
downloadpython-coveragepy-f5340981f611c102bac62c724543e7ff7ff6cb8a.tar.gz
Rename .statements and .excluded_statements to .lines and .excluded_lines
Diffstat (limited to 'coverage/python.py')
-rw-r--r--coverage/python.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/python.py b/coverage/python.py
index 94d20fd..e6e9493 100644
--- a/coverage/python.py
+++ b/coverage/python.py
@@ -126,13 +126,13 @@ class PythonFileReporter(FileReporter):
)
return self._parser
- def statements(self):
+ def lines(self):
"""Return the line numbers of statements in the file."""
if self._statements is None:
self._statements, self._excluded = self.parser.parse_source()
return self._statements
- def excluded_statements(self):
+ def excluded_lines(self):
"""Return the line numbers of statements in the file."""
if self._excluded is None:
self._statements, self._excluded = self.parser.parse_source()