def constants(self):
        return self.visit(lambda e: e.constants(),
                          lambda parts: reduce(operator.or_, parts, set()))
Return a set of individual constants (non-predicates).
dataset/ETHPy150Open nltk/nltk/nltk/sem/logic.py/Expression.constants