def get_active_lineage():
    """
    Query the lineage of the current timer level.  Provides only timer names,
    not stamp names (as these have not been decided yet!).

    Returns:
        str: Formatted sequence of timer names in one string.
    """
    lin_str = ''
    for active_timer in f.timer_stack:
        lin_str += "{}-->".format(active_timer.name)
    try:
        return lin_str[:-3]
    except IndexError:
        pass
def get_active_lineage ( ) : lin_str = '' for active_timer in f . timer_stack : lin_str += "{}-->" . format ( active_timer . name ) try : return lin_str [ : - 3 ] except IndexError : pass
Query the lineage of the current timer level.  Provides only timer names,
    not stamp names (as these have not been decided yet!).

    Returns:
        str: Formatted sequence of timer names in one string.