/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
- from using_protected import *
- f = FooBar()
- f.x = 3
- if f.blah(4) != 4:
- raise RuntimeError, "blah(int)"