mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
#18741: fix more typos. Patch by Févry Thibault.
This commit is contained in:
parent
9ff79f7c46
commit
b5bc353b88
22 changed files with 38 additions and 36 deletions
|
@ -34,8 +34,8 @@ class FixItertools(fixer_base.BaseFix):
|
|||
# Remove the 'itertools'
|
||||
prefix = it.prefix
|
||||
it.remove()
|
||||
# Replace the node wich contains ('.', 'function') with the
|
||||
# function (to be consistant with the second part of the pattern)
|
||||
# Replace the node which contains ('.', 'function') with the
|
||||
# function (to be consistent with the second part of the pattern)
|
||||
dot.remove()
|
||||
func.parent.replace(func)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue