/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

  1. import class_scope_weird
  2. f = class_scope_weird.Foo()
  3. if f.bar(3) != 3:
  4. raise RuntimeError