[Python-checkins] cpython (2.7): Issue #25505: Remove unused buggy method.
terry.reedy
python-checkins at python.org
Fri Oct 30 19:26:24 EDT 2015
https://hg.python.org/cpython/rev/2672ab3cfb23
changeset: 98901:2672ab3cfb23
branch: 2.7
parent: 98896:a37ea1d56e98
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Fri Oct 30 19:25:28 2015 -0400
summary:
Issue #25505: Remove unused buggy method.
files:
Tools/scripts/fixdiv.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Tools/scripts/fixdiv.py b/Tools/scripts/fixdiv.py
--- a/Tools/scripts/fixdiv.py
+++ b/Tools/scripts/fixdiv.py
@@ -335,8 +335,6 @@
self.buffer.append(line)
self.lineno += 1
return line
- def truncate(self):
- del self.buffer[-window:]
def __getitem__(self, index):
self.fill()
bufstart = self.lineno - len(self.buffer)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list