PageRenderTime 29ms CodeModel.GetById 19ms app.highlight 9ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/ttn-post-libtool-1-4-3-upgrade/SWIG/Examples/test-suite/python/using_protected_runme.py

#
Python | 7 lines | 5 code | 2 blank | 0 comment | 1 complexity | a1e0cab80ece018ac8f43f20f324ef6a MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1from using_protected import *
2
3f = FooBar()
4f.x = 3
5
6if f.blah(4) != 4:
7    raise RuntimeError, "blah(int)"