def addTrigger(self, phase, callable, *args, **kwargs):
        if phase not in ('before', 'during', 'after'):
            raise KeyError("invalid phase")
        getattr(self, phase).append((callable, args, kwargs))
        return phase, callable, args, kwargs
Return a string representation of this decision tree that expresses
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/base.py/_ThreePhaseEvent.addTrigger--crossover with--dataset/ETHPy150Open sloria/TextBlob/textblob/classifiers.py/DecisionTreeClassifier.pseudocode