PageRenderTime 5ms CodeModel.GetById 4ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-25/SWIG/Examples/test-suite/python/class_scope_weird_runme.py

#
Python | 5 lines | 4 code | 1 blank | 0 comment | 1 complexity | dcb4eaddc3ee00129d22de54891d76df MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1import class_scope_weird
2
3f = class_scope_weird.Foo()
4if f.bar(3) != 3:
5    raise RuntimeError