From cfad18dbdb81d22408bae38eb6c35da4db2ab05e Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 30 Oct 2015 19:25:28 -0400 Subject: 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 2bbd3d5..20a3502 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) -- cgit v0.12