this should be

def MomentumAdjustor(...):
    warnings.warn("<my deperecation warning>")
    return learning_rule.MomentumAdjustor(...)

so that people see the deprecation warning.