(self, count)
return blocks * BLOCKSIZE
Round up a byte count by BLOCKSIZE and return it,
           e.g. _block(834) => 1024.
Round up a byte count by BLOCKSIZE and return it,
           e.g. _block(834) => 1024.
Round up a byte count by BLOCKSIZE and return it e . g . _block ( 834 ) = > 1024 .
def _block(self, count):
        """Round up a byte count by BLOCKSIZE and return it,
           e.g. _block(834) => 1024.
        """
        blocks, remainder = divmod(count, BLOCKSIZE)
        if remainder:
            blocks += 1
        return blocks * BLOCKSIZE
def _block ( self , count ) : blocks , remainder = divmod ( count , BLOCKSIZE ) if remainder : blocks += 1 return blocks * BLOCKSIZE