def resolve_input_functions(input_files):
    'Iterate over all input files and replace input functions\n            with a fixed string.\n            '
    files = []
    for f in input_files:
        if callable(f):
            files.append('<input function>')
        else:
            files.append(repr(f).strip("'"))
    return files
Iterate over all input files and replace input functions
with a fixed string.
def resolve_input_functions(input_files):
    'Iterate over all input files and replace input functions\n            with a fixed string.\n            '
    files = []
    for f in input_files:
        if callable(f):
            files.append('<input function>')
        else:
            files.append(repr(f).strip("'"))
    return files