def bonferroni_correction(significance, numtests):
    """
    Calculates the standard Bonferroni correction, for reducing
    the "local" significance for > 1 statistical hypothesis
    test to guarantee maintaining a "global" significance (i.e.,
    a family-wise error rate) of `significance`.

    Parameters
    ----------
    confidence : float
        The desired global significance (often 0.05).

    numtests : int
        The number of hypothesis tests

    Returns
    -------
    The Boferroni-corrected local significance, given by
    `significance` / `numtests`.
    """
    local_significance = significance / numtests

    return local_significance