Fix a mismatch between method signature in scripting/python_scripting.cpp and scripting/python_scripting.h