Skip to content

Commit

Permalink
BUG: Ellipsis is not iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
Leengit authored and thewtex committed May 2, 2021
1 parent fa36932 commit ca06900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wrapping/Generators/SwigInterface/igenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ def {snakeCase}(*args{args_typehint}, {kwargs_typehints}**kwargs){return_typehin
import itk
kwarg_typehints = {{ {kwarg_dict} }}
specified_kwarg_typehints = {{ k:v for (k,v) in kwarg_typehints.items() if kwarg_typehints[k] != ... }}
specified_kwarg_typehints = {{ k:v for (k,v) in kwarg_typehints.items() if kwarg_typehints[k] is not ... }}
kwargs.update(specified_kwarg_typehints)
instance = itk.{processObject}.New(*args, **kwargs)
Expand Down

0 comments on commit ca06900

Please sign in to comment.