wsnsim/auxiliary_functions.py
def print_with_asterisks(function: Callable[..., None]) -> Callable[..., None]:
    """Used as a decorator.

    Adds asterisks before and after the execution of a function.
    """
    def inner(*args, **kwargs):
        """Adds asterisks before and after the execution of a function."""
        number_of_asterisks = 50
        print('*' * number_of_asterisks)
        function(*args, **kwargs)
        print('*' * number_of_asterisks)

    return inner
Used as a decorator.

    Adds asterisks before and after the execution of a function.
    
Used as a decorator.
Adds asterisks before and after the execution of a function.
Used as a decorator . Adds asterisks before and after the execution of a function .
def print_with_asterisks(function: Callable[..., None]) -> Callable[..., None]:
    def inner(*args, **kwargs):
        number_of_asterisks = 50
        print('*' * number_of_asterisks)
        function(*args, **kwargs)
        print('*' * number_of_asterisks)
    return inner
def print_with_asterisks ( function : Callable [ ... , None ] ) -> Callable [ ... , None ] : def inner ( * args , ** kwargs ) : """Adds asterisks before and after the execution of a function.""" number_of_asterisks = 50 print ( '*' * number_of_asterisks ) function ( * args , ** kwargs ) print ( '*' * number_of_asterisks ) return inner
Used as a decorator.
Used as a decorator .
"""Used as a decorator.

    Adds asterisks before and after the execution of a function.
    """ """Adds asterisks before and after the execution of a function."""
function
Callable[..., None]