def K_combinator(x, name):

    def f():
        return x
f.__name__ = name
return f
none_function = K_combinator(None, 'none_function')
print(none_function())
Passing 'None' as function parameter (where parameter is a function)