equal
deleted
inserted
replaced
462 """represent a block of the Trie |
462 """represent a block of the Trie |
463 |
463 |
464 contains up to 16 entry indexed from 0 to 15""" |
464 contains up to 16 entry indexed from 0 to 15""" |
465 |
465 |
466 def __init__(self): |
466 def __init__(self): |
467 super(Block, self).__init__() |
467 super().__init__() |
468 # If this block exist on disk, here is its ID |
468 # If this block exist on disk, here is its ID |
469 self.ondisk_id = None |
469 self.ondisk_id = None |
470 |
470 |
471 def __iter__(self): |
471 def __iter__(self): |
472 return iter(self.get(i) for i in range(16)) |
472 return iter(self.get(i) for i in range(16)) |