Fix the bug of type error when calling set_to_default_values() in python interface
remove unnecessary spaces or tabs after the end
of statements (i.e., after ;)