Fix sticky exception when passing over overloads with single string arg.

This commit is contained in:
rdb 2015-03-28 20:51:08 +01:00
parent 64120cd7d8
commit 53d10aa3a3

View File

@ -4659,6 +4659,8 @@ write_function_instance(ostream &out, FunctionRemap *remap,
}
expected_params += "str";
}
// Remember to clear the TypeError that any of the above methods raise.
clear_error = true;
only_pyobjects = false;
} else if (TypeManager::is_bool(type)) {