Default values are no longer generated as Python code by default. They must be explicitly turned on using the "python:defaultargs" feature. Closes #294 Closes #296 The problems in these two issues when "python:defaultargs" is turned on still need to be fixed and should be addressed in separate patches. The important thing is the default code generation is now fixed.
3 lines
188 B
Python
3 lines
188 B
Python
# Test %feature("python:defaultargs") using the test code in default_args_runme.py (which does not use the feature)
|
|
import default_args_runme
|
|
default_args_runme.run('python_default_args')
|