summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-10-30 23:25:34 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-10-30 23:25:34 (GMT)
commita05e7f67436b73013f998e84271d3430f56253c1 (patch)
tree65ad84e2317049a673b0746f83e9a35bb92251c5
parentbbdc065506dd7b8b6c2482d482789754ce1dd073 (diff)
downloadcpython-a05e7f67436b73013f998e84271d3430f56253c1.zip
cpython-a05e7f67436b73013f998e84271d3430f56253c1.tar.gz
cpython-a05e7f67436b73013f998e84271d3430f56253c1.tar.bz2
Issue #25505: Remove unused buggy method.
-rwxr-xr-xTools/scripts/fixdiv.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/scripts/fixdiv.py b/Tools/scripts/fixdiv.py
index 4ecbea1..20f3386 100755
--- a/Tools/scripts/fixdiv.py
+++ b/Tools/scripts/fixdiv.py
@@ -335,8 +335,6 @@ class FileContext:
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)