/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
- import class_scope_weird
- f = class_scope_weird.Foo()
- if f.bar(3) != 3:
- raise RuntimeError