def _pad_length(stringlen):
    """Bytes needed to pad the input stringlen to the next FITS block."""

    return (BLOCK_SIZE - (stringlen % BLOCK_SIZE)) % BLOCK_SIZE
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/util.py/_pad_length/original