Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(98)  |  Call(78)  |  Derive(0)  |  Import(20)

        def makeStatementsSequenceFromStatement(statement):
    return StatementsSequence(
        statements = mergeStatements(
            (statement,)
        ),
        source_ref = statement.getSourceReference()
    )
        


src/n/u/Nuitka-HEAD/nuitka/tree/ReformulationFunctionStatements.py   Nuitka(Download)
from nuitka.nodes.AssignNodes import StatementAssignmentVariable
 
from .Helpers import (
    makeStatementsSequenceFromStatement,
    makeDictCreationOrConstant,
    elif function_statements_body is None:
        function_statements_body = makeStatementsSequenceFromStatement(
            statement = StatementReturn(
                expression = ExpressionConstantRef(
                    constant   = None,

src/n/u/Nuitka-HEAD/nuitka/tree/ReformulationContractionExpressions.py   Nuitka(Download)
from .ReformulationBooleanExpressions import buildAndNode
 
from .Helpers import (
    makeStatementsSequenceFromStatement,
    mergeStatements,
            makeTryExceptSingleHandlerNode(
                tried          = makeStatementsSequenceFromStatement(
                    statement = StatementAssignmentVariable(
                        variable_ref = ExpressionTargetTempVariableRef(
                            variable   = tmp_value_variable.makeReference(
                exception_name = "StopIteration",
                handler_body   = makeStatementsSequenceFromStatement(
                    statement = StatementBreakLoop(
                        source_ref = source_ref.atInternal()
                    )
                    condition  = conditions[0],
                    yes_branch = makeStatementsSequenceFromStatement(
                        statement = current_body
                    ),
                    no_branch  = None,
                    ),
                    yes_branch = makeStatementsSequenceFromStatement(
                        statement = current_body
                    ),
                    no_branch  = None,

src/n/u/Nuitka-0.5.1.5/nuitka/tree/ReformulationContractionExpressions.py   Nuitka(Download)
from .ReformulationBooleanExpressions import buildAndNode
 
from .Helpers import (
    makeStatementsSequenceFromStatement,
    mergeStatements,
            makeTryExceptSingleHandlerNode(
                tried          = makeStatementsSequenceFromStatement(
                    statement = StatementAssignmentVariable(
                        variable_ref = ExpressionTargetTempVariableRef(
                            variable   = tmp_value_variable.makeReference(
                exception_name = "StopIteration",
                handler_body   = makeStatementsSequenceFromStatement(
                    statement = StatementBreakLoop(
                        source_ref = source_ref.atInternal()
                    )
                    condition  = conditions[0],
                    yes_branch = makeStatementsSequenceFromStatement(
                        statement = current_body
                    ),
                    no_branch  = None,
                    ),
                    yes_branch = makeStatementsSequenceFromStatement(
                        statement = current_body
                    ),
                    no_branch  = None,

src/n/u/Nuitka-HEAD/nuitka/tree/ReformulationLoopStatements.py   Nuitka(Download)
)
 
from .Helpers import (
    makeStatementsSequenceFromStatement,
    makeStatementsSequence,
        makeTryExceptSingleHandlerNode(
            tried         = makeStatementsSequenceFromStatement(
                statement = StatementAssignmentVariable(
                    variable_ref = ExpressionTargetTempVariableRef(
                        variable   = tmp_value_variable.makeReference(
        StatementTryFinally(
            tried = makeStatementsSequenceFromStatement(
                statement = StatementLoop(
                    body       = loop_body,
                    source_ref = source_ref

src/n/u/Nuitka-0.5.1.5/nuitka/tree/ReformulationFunctionStatements.py   Nuitka(Download)
from nuitka.nodes.AssignNodes import StatementAssignmentVariable
 
from .Helpers import (
    makeStatementsSequenceFromStatement,
    makeDictCreationOrConstant,
    elif function_statements_body is None:
        function_statements_body = makeStatementsSequenceFromStatement(
            statement = StatementReturn(
                expression = ExpressionConstantRef(
                    constant   = None,

src/n/u/Nuitka-HEAD/nuitka/tree/ReformulationTryExceptStatements.py   Nuitka(Download)
 
 
from .Helpers import(
    makeStatementsSequenceFromStatement,
    makeStatementsSequence,
                ),
                final      = makeStatementsSequenceFromStatement(
                    statement = StatementRestoreFrameException(
                        source_ref = source_ref.atInternal()
                    )
                        tried = exception_handling,
                        final = makeStatementsSequenceFromStatement(
                            statement = StatementRestoreFrameException(
                                source_ref = source_ref.atInternal()
                            ),

src/n/u/Nuitka-HEAD/nuitka/tree/ReformulationWithStatements.py   Nuitka(Download)
from .ReformulationAssignmentStatements import buildAssignmentStatements
 
from .Helpers import (
    makeStatementsSequenceFromStatement,
    makeStatementsSequence,
        StatementTryFinally(
            tried      = makeStatementsSequenceFromStatement(
                statement = makeTryExceptSingleHandlerNode(
                    tried          = with_body,
                    exception_name = "BaseException",
                                ),
                                no_branch  = makeStatementsSequenceFromStatement(
                                    statement = StatementRaiseException(
                                        exception_type  = None,
                                        exception_value = None,
            ),
            final      = makeStatementsSequenceFromStatement(
                statement = StatementConditional(
                    condition      = ExpressionComparisonIs(
                        left       = ExpressionTempVariableRef(
                    ),
                    yes_branch = makeStatementsSequenceFromStatement(
                        statement = StatementExpressionOnly(
                            expression = ExpressionCallNoKeywords(
                                called     = ExpressionTempVariableRef(

src/n/u/Nuitka-HEAD/nuitka/tree/ComplexCallHelperFunctions.py   Nuitka(Download)
from .ReformulationTryExceptStatements import makeTryExceptSingleHandlerNode
from .VariableClosure import completeVariableClosures
from .Helpers import makeStatementsSequenceFromStatement
 
source_ref = fromFilename("internal", FutureSpec()).atInternal()
 
    functions_case = makeStatementsSequenceFromStatement(
        statement = (
            StatementReturn(
                expression = ExpressionOperationBinary(
 
    no_branch = makeStatementsSequenceFromStatement(
        statement = StatementReturn(
            expression = ExpressionOperationBinary(
                operator   = "Add",
    if python_version < 300:
        instance_case = makeStatementsSequenceFromStatement(
            statement = StatementReturn(
                expression = ExpressionOperationBinary(
                    operator   = "Add",
 
        no_branch = makeStatementsSequenceFromStatement(
            statement = StatementConditional(
                condition  = ExpressionBuiltinIsinstance(
                    instance   = makeCalledVariableRef(),

src/n/u/Nuitka-0.5.1.5/nuitka/tree/ReformulationWithStatements.py   Nuitka(Download)
from .ReformulationAssignmentStatements import buildAssignmentStatements
 
from .Helpers import (
    makeStatementsSequenceFromStatement,
    makeStatementsSequence,
        StatementTryFinally(
            tried      = makeStatementsSequenceFromStatement(
                statement = makeTryExceptSingleHandlerNode(
                    tried          = with_body,
                    exception_name = "BaseException",
                                ),
                                no_branch  = makeStatementsSequenceFromStatement(
                                    statement = StatementRaiseException(
                                        exception_type  = None,
                                        exception_value = None,
            ),
            final      = makeStatementsSequenceFromStatement(
                statement = StatementConditional(
                    condition      = ExpressionComparisonIs(
                        left       = ExpressionTempVariableRef(
                    ),
                    yes_branch = makeStatementsSequenceFromStatement(
                        statement = StatementExpressionOnly(
                            expression = ExpressionCallNoKeywords(
                                called     = ExpressionTempVariableRef(

src/n/u/Nuitka-0.5.1.5/nuitka/tree/ComplexCallHelperFunctions.py   Nuitka(Download)
from .ReformulationTryExceptStatements import makeTryExceptSingleHandlerNode
from .VariableClosure import completeVariableClosures
from .Helpers import makeStatementsSequenceFromStatement
 
source_ref = fromFilename( "internal", FutureSpec() ).atInternal()
 
    functions_case = makeStatementsSequenceFromStatement(
        statement = (
            StatementReturn(
                expression = ExpressionOperationBinary(
 
    no_branch = makeStatementsSequenceFromStatement(
        statement = StatementReturn(
            expression = ExpressionOperationBinary(
                operator   = "Add",
    if python_version < 300:
        instance_case = makeStatementsSequenceFromStatement(
            statement = StatementReturn(
                expression = ExpressionOperationBinary(
                    operator   = "Add",
 
        no_branch = makeStatementsSequenceFromStatement(
            statement = StatementConditional(
                condition  = ExpressionBuiltinIsinstance(
                    instance   = makeCalledVariableRef(),

  1 | 2  Next