src/aoikhotkey/hotkey_spec_parser.py
def tag_call_in_main_thread(func):
    """
    Decorator that adds `call in main thread` tag attribute to decorated \
        function.

    :param func: Decorated function.

    :return: Decorated function.
    """
    # Set tag attribute on given function
    setattr(func, _TAG_CALL_IN_MAIN_THREAD, True)

    # Return given function
    return func

    Decorator that adds `call in main thread` tag attribute to decorated \
        function.

    :param func: Decorated function.

    :return: Decorated function.
    
Decorator that adds `call in main thread` tag attribute to decorated \
function.
Decorator that adds ` call in main thread ` tag attribute to decorated \ function .
def tag_call_in_main_thread(func):
    setattr(func, _TAG_CALL_IN_MAIN_THREAD, True)
    return func
def tag_call_in_main_thread ( func ) : setattr ( func , _TAG_CALL_IN_MAIN_THREAD , True ) return func
Decorator that adds `call in main thread` tag attribute to decorated \
function.
Decorator that adds ` call in main thread ` tag attribute to decorated \ function .
"""
    Decorator that adds `call in main thread` tag attribute to decorated \
        function.

    :param func: Decorated function.

    :return: Decorated function.
    """ # Set tag attribute on given function # Return given function
None
func
None