def format_subject(self, subject):

        formatted_subject = subject.replace('\n', '\\n').replace('\r', '\\r')

        return formatted_subject[:989]
Performs a recursive depth-first search starting at ``node``.  This function
dataset/ETHPy150Open lamby/django-slack/django_slack/log.py/SlackExceptionHandler.format_subject--crossover with--dataset/ETHPy150Open caseywstark/colab/colab/apps/threadedcomments/models.py/dfs