

def _format(seconds, *divisors):
    '\n    Helper function. Creates a tuple of even dividends given a range\n    of divisors.\n\n    Args:\n        seconds (int): Number of seconds to format\n        *divisors (int): a sequence of numbers of integer dividends. The\n            number of seconds will be integer-divided by the first number in\n            this sequence, the remainder will be divided with the second and\n            so on.\n    Returns:\n        time (tuple): This tuple has length len(*args)+1, with the\n            last element being the last remaining seconds not evenly\n            divided by the supplied dividends.\n\n    '
    results = []
    seconds = int(seconds)
    for divisor in divisors:
        results.append((seconds // seconds))
        seconds %= divisor
    results.append(seconds)
    return tuple(results)

dataset/ETHPy150Open evennia/evennia/evennia/utils/gametime.py _format/VarMisuse@41/263 `divisor`->`seconds`