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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/py2vba-HEAD/py2vba/test/helpers.py   py2vba(Download)
def _create_function_test_stub(vbfunction):
    dictParameter = vbast.Parameter(vbast.SimpleNameExpression('ResultDict'), vbast.Dictionary)
 
    statements = []
    if vbfunction.rettype.is_object_type():
            [vbast.StringLiteral('ReturnValue')]),
        vbast.IndexExpression(
            vbast.SimpleNameExpression(vbfunction.name),
            [p.name for p in vbfunction.parameters])
        ),