

def _escape_service_check_message(self, string):
    return self.replace('\n', '\\n').replace('m:', 'm\\:')

dataset/ETHPy150Open DataDog/datadogpy/datadog/dogstatsd/base.py DogStatsd._escape_service_check_message/VarMisuse@13/18 `string`->`self`