Skip to content

Commit

Permalink
DOC: Spelling warnings removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson committed Oct 19, 2020
1 parent db612aa commit 47fa99d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Wrapping/Generators/Python/itkTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def __add__(self, paramSetString, cl):
# will be the full real name of the class without the itk prefix and
# _Pointer suffix
# - the template is not a SmartPointer. In that case, we keep only the
# end of the real class name which is a short string discribing the
# end of the real class name which is a short string describing the
# template arguments (for example IUC2)
if cl.__name__.startswith("itk"):
if cl.__name__.endswith("_Pointer"):
Expand Down Expand Up @@ -443,8 +443,8 @@ def __call__(self, *args, **kwargs):
DeprecationWarning,
)

filt = self.New(*args, **kwargs)
return filt.__internal_call__()
filter = self.New(*args, **kwargs)
return filter.__internal_call__()

def New(self, *args, **kwargs):
"""Instantiate the template with a type implied from its input.
Expand Down

0 comments on commit 47fa99d

Please sign in to comment.