human
Complete the below
def ipython_only(option):

    ''''Mark that an option should only be exposed in IPython.
    Parameters
    option : decorator
    A click.option decorator.
    Returns
    ipython_only_dec : decorator
    A decorator that correctly applies the argument even when not
    using IPython mode.'
    '''

=====
What is a the Python code you requested?
assistant
#Here is the Python code you requested.
    if __IPYTHON__:
        return option
    argname = extract_option_object(option).name
    def d(f):
        @wraps(f)
        def _(*args, **kwargs):
            kwargs[argname] = None
            return f(*args, **kwargs)
        return _
    return d