diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-09 12:20:02 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-09 12:20:02 -0400 |
commit | bee953400bae23f82ae021035aae0d784f6217d2 (patch) | |
tree | 2b7ea710d6294a2136b5e9e2c90d88903abd62fe /coverage/python.py | |
parent | db93205a36d4e55ae01c0c625c446b74e0438797 (diff) | |
download | python-coveragepy-git-bee953400bae23f82ae021035aae0d784f6217d2.tar.gz |
Rename .statements and .excluded_statements to .lines and .excluded_lines
Diffstat (limited to 'coverage/python.py')
-rw-r--r-- | coverage/python.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/python.py b/coverage/python.py index 94d20fd8..e6e9493a 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() |