swig/Examples/test-suite/python/not_c_keywords_runme.py
William S Fulton 638ca8152d complex can now be used as an identifier
Remove final vestiges of 'complex' keyword.

Closes #252
2020-10-10 16:07:55 +01:00

7 lines
146 B
Python

from not_c_keywords import *
cs = ComplexStruct()
cs.init()
if cs.complex != 123:
raise RuntimeError("complex not correct")
cs.complex = 456