Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/s/y/sympy-HEAD/sympy/core/mul.py   sympy(Download)
    def matches(self, expr, repl_dict={}, old=False):
        expr = sympify(expr)
        if self.is_commutative and expr.is_commutative:
            return AssocOp._matches_commutative(self, expr, repl_dict, old)
        elif self.is_commutative is not expr.is_commutative:

src/s/y/sympy-HEAD/sympy/core/add.py   sympy(Download)
    def matches(self, expr, repl_dict={}, old=False):
        return AssocOp._matches_commutative(self, expr, repl_dict, old)
 
    @staticmethod
    def _combine_inverse(lhs, rhs):