summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-10-30 23:25:28 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-10-30 23:25:28 (GMT)
commitcfad18dbdb81d22408bae38eb6c35da4db2ab05e (patch)
treed801c337beb1a16f86f7862687d172cfc4d6cdfd /Tools
parentfaaf16b8ed273bb974ea18183ef17f078e0d3944 (diff)
downloadcpython-cfad18dbdb81d22408bae38eb6c35da4db2ab05e.zip
cpython-cfad18dbdb81d22408bae38eb6c35da4db2ab05e.tar.gz
cpython-cfad18dbdb81d22408bae38eb6c35da4db2ab05e.tar.bz2
Issue #25505: Remove unused buggy method.
Diffstat (limited to 'Tools')
-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 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)