Skip to content

Commit

Permalink
Merge pull request #244 from timgates42/bugfix_typo_which
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Nov 10, 2020
2 parents 6a656e7 + 89d4012 commit d5e2e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modernize/fixes/fix_itertools_six.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def transform(self, node, results):
# Remove the 'itertools'
prefix = it.prefix
it.remove()
# Replace the node wich contains ('.', 'function') with the
# Replace the node which contains ('.', 'function') with the
# function (to be consistant with the second part of the pattern)
dot.remove()
func.parent.replace(func)
Expand Down

0 comments on commit d5e2e1c

Please sign in to comment.