code: def _pad_block(self, handle):
          '''Pad the file with 0s to the end of the next block boundary.'''
          extra = handle.tell() % 512
          if extra:
              handle.write(b'\x00' * (512 - extra)f _pad_block(self, handle):
          '''Pad the file with 0s to the end of the next block boundary.'''
          extra = handle.tell() % 512
          if extra:
              handle.write(b'\x00' * (512 - extra))
docs: Pad the file with 0s to the end of the next block boundary.