File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,12 +189,12 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
189189 // dictionary is passed to the extension initializer which is not used
190190 // most of the time.
191191 // Note, though none of our API's suggest defining the interfaces with
192- // varargs, we have some extant clients that were doing that. To keep
192+ // varargs, we have some extant clients that were doing that. To keep
193193 // from breaking them, we just say putting a varargs in these signatures
194194 // turns off argument checking.
195195 size_t num_args = sizeof ...(Args);
196- if (arg_info->max_positional_args != PythonCallable::ArgInfo::UNBOUNDED
197- && num_args != arg_info->max_positional_args ) {
196+ if (arg_info->max_positional_args != PythonCallable::ArgInfo::UNBOUNDED &&
197+ num_args != arg_info->max_positional_args ) {
198198 if (num_args != arg_info->max_positional_args - 1 )
199199 return create_error (" Passed arguments ({0}) doesn't match the number "
200200 " of expected arguments ({1})." ,
You can’t perform that action at this time.
0 commit comments