From a05e7f67436b73013f998e84271d3430f56253c1 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 30 Oct 2015 19:25:34 -0400 Subject: [PATCH] Issue #25505: Remove unused buggy method. --- Tools/scripts/fixdiv.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Tools/scripts/fixdiv.py b/Tools/scripts/fixdiv.py index 4ecbea15e8..20f33865e2 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) -- 2.40.0