def _param_deprecation_warning(schema, deprecated, context):
    """Raises warning about using the 'old' names for some parameters.

    The new naming scheme just has two underscores on each end of the word for consistency
    """
    for i in deprecated:
        if i in schema:
                msg = 'When matching {ctx}, parameter {word} is deprecated, use __{word}__ instead'
                msg = msg.format(ctx = context, word = i)
                warnings.warn(msg, Warning)