Ask Your Question

Revision history [back]

You can compare wth operator.pow:

sage: expr.operator() == operator.pow

You can compare wth operator.pow:

sage: expr.operator() == operator.pow
True

You can compare wth operator.pow:

sage: expr.operator() == operator.pow
True

Or even:

sage: expr.operator() is operator.pow
True