Beispiel #1
0
def getQuickMixedCallCode(args_count, has_tuple_arg, has_dict_values):
    template = getTemplateC("nuitka.codegen", "CodeTemplateCallsMixed.c.j2")

    return template.render(
        args_count=args_count,
        has_tuple_arg=has_tuple_arg,
        has_dict_values=has_dict_values,
    )
Beispiel #2
0
def getQuickMethodDescrCallCode(args_count):
    template = getTemplateC(
        "nuitka.codegen", "CodeTemplateCallsPositionalMethodDescr.c.j2"
    )

    return template.render(
        args_count=args_count,
    )
Beispiel #3
0
def getQuickCallCode(args_count, has_tuple_arg):
    template = getTemplateC("nuitka.codegen", "CodeTemplateCallsPositional.c.j2")
    return template.render(args_count=args_count, has_tuple_arg=has_tuple_arg)