human
Complete the below
def infix(bp, func):

    ''''Creates an infix operator, given a binding power and a function that
    evaluates the node'
    '''

=====
Give me a Python code to fix operator, given a binding power and a function that?
assistant
#Here is Python code to fix operator, given a binding power and a function that
.
    class Operator(TokenBase, ):
        lbp = bp
        def led(self, left, parser):
            self.first = left
            self.second = parser.expression(bp)
            return self
        def eval(self, context):
            try:
                return func(context, self.first, self.second)
            except Exception:
                return False
    return Operator