Implementation for an Issue #307

This commit is contained in:
Miroslav Stampar
2012-12-18 16:03:35 +01:00
parent eb23b1b1a5
commit 88d8494b5a
3 changed files with 40 additions and 6 deletions

View File

@@ -40,6 +40,10 @@ class BigArray(list):
self.chunks[-1] = filename
self.chunks.append([])
def extend(self, value):
for _ in value:
self.append(_)
def pop(self):
if len(self.chunks[-1]) < 1:
self.chunks.pop()