mercurial/revlogutils/nodemap.py
changeset 52643 5cc8deb96b48
parent 51859 f4733654f144
child 52644 e627cc25b6f3
equal deleted inserted replaced
52642:73ab542565e0 52643:5cc8deb96b48
   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))