Merge with 3.5

This commit is contained in:
Terry Jan Reedy 2015-10-30 19:26:03 -04:00
commit 4df429618d
1 changed files with 0 additions and 2 deletions

View File

@ -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)