human
Write me a the Python code you requested given the following:
Complete the below
@lower(cmath.log, types.Complex, types.Complex)
def log_base_impl(context, builder, sig, args):

    ''''cmath.log(z, base)'
    '''
assistant
#Here is the Python code you requested.
    [z, base] = args
    def log_base(z, base):
        return (cmath.log(z) / cmath.log(base))
    res = context.compile_internal(builder, log_base, sig, args)
    return impl_ret_untracked(context, builder, sig, res)