jinja2.sandbox.SandboxedEnvironment.call_binop

SandboxedEnvironment.call_binop(context, operator, left, right)[source]

For intercepted binary operator calls (intercepted_binops()) this function is executed instead of the builtin operator. This can be used to fine tune the behavior of certain operators.

New in version 2.6.