mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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.buffer.append(line)
|
||||||
self.lineno += 1
|
self.lineno += 1
|
||||||
return line
|
return line
|
||||||
def truncate(self):
|
|
||||||
del self.buffer[-window:]
|
|
||||||
def __getitem__(self, index):
|
def __getitem__(self, index):
|
||||||
self.fill()
|
self.fill()
|
||||||
bufstart = self.lineno - len(self.buffer)
|
bufstart = self.lineno - len(self.buffer)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue