From f5340981f611c102bac62c724543e7ff7ff6cb8a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 9 Aug 2015 12:20:02 -0400 Subject: Rename .statements and .excluded_statements to .lines and .excluded_lines --- coverage/python.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/python.py') 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() -- cgit v1.2.1