PageRenderTime 43ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/python/python_varargs_typemap_runme.py

#
Python | 4 lines | 3 code | 1 blank | 0 comment | 1 complexity | 2646a48a5adeb221f7ab1330e9ed0a4c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. import python_varargs_typemap
  2. if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three") :
  3. raise RuntimeError("testfunc failed!")