We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a656e7 + 89d4012 commit d5e2e1cCopy full SHA for d5e2e1c
modernize/fixes/fix_itertools_six.py
@@ -44,7 +44,7 @@ def transform(self, node, results):
44
# Remove the 'itertools'
45
prefix = it.prefix
46
it.remove()
47
- # Replace the node wich contains ('.', 'function') with the
+ # Replace the node which contains ('.', 'function') with the
48
# function (to be consistant with the second part of the pattern)
49
dot.remove()
50
func.parent.replace(func)
0 commit comments