From dd01256e9f78b715df66f607665b52fc651a270d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Mon, 4 Jul 2022 07:00:29 +1000 Subject: [PATCH] docs: fix simple typo, consistant -> consistent There is a small typo in modernize/fixes/fix_itertools_six.py. Should read `consistent` rather than `consistant`. --- modernize/fixes/fix_itertools_six.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modernize/fixes/fix_itertools_six.py b/modernize/fixes/fix_itertools_six.py index b6ff62a..7c66184 100644 --- a/modernize/fixes/fix_itertools_six.py +++ b/modernize/fixes/fix_itertools_six.py @@ -45,7 +45,7 @@ def transform(self, node, results): prefix = it.prefix it.remove() # Replace the node which contains ('.', 'function') with the - # function (to be consistant with the second part of the pattern) + # function (to be consistent with the second part of the pattern) dot.remove() func.parent.replace(func) fixer_util.touch_import("six.moves", func.value[1:], node)