def _getReplacementString(replacement):
    if callable(replacement):
        replacement = _fullyQualifiedName(replacement)
    return "please use %s instead" % (replacement,)
Surround a replacement for a deprecated API with some polite text exhorting
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/deprecate.py/_getReplacementString