def makeStatementsSequenceOrStatement(statements, source_ref):

    if len(statements) > 1:
        return StatementsSequence(
            statements = mergeStatements(statements),
            source_ref = source_ref
        )
    else:
        return statements[0]
Make a statement sequence, but only if more than one statement
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/tree/Helpers.py/makeStatementsSequenceOrStatement