mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #25505: Remove unused buggy method.
This commit is contained in:
parent
bbdc065506
commit
a05e7f6743
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue