Issue #25505: Remove unused buggy method.
This commit is contained in:
parent
faaf16b8ed
commit
cfad18dbdb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue