summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-17 06:39:28 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-17 06:39:28 (GMT)
commitb6a9c9761ca988e1ab69defd45433fac0b2ff89c (patch)
tree0071290253b0ef28f62f3f22d69be89db2abad50 /Lib/lib2to3
parent5562563dd4a745ecac8e6830b2a15042beb5dd47 (diff)
parent6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d (diff)
downloadcpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.zip
cpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.tar.gz
cpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.tar.bz2
Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/fixer_base.py2
-rw-r--r--Lib/lib2to3/refactor.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixer_base.py b/Lib/lib2to3/fixer_base.py
index b176056..1ce62fe 100644
--- a/Lib/lib2to3/fixer_base.py
+++ b/Lib/lib2to3/fixer_base.py
@@ -49,7 +49,7 @@ class BaseFix(object):
"""Initializer. Subclass may override.
Args:
- options: an dict containing the options passed to RefactoringTool
+ options: a dict containing the options passed to RefactoringTool
that could be used to customize the fixer through the command line.
log: a list to append warnings and other messages to.
"""
diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py
index adf9996..0728083 100644
--- a/Lib/lib2to3/refactor.py
+++ b/Lib/lib2to3/refactor.py
@@ -184,7 +184,7 @@ class RefactoringTool(object):
Args:
fixer_names: a list of fixers to import
- options: an dict with configuration.
+ options: a dict with configuration.
explicit: a list of fixers to run even if they are explicit.
"""
self.fixers = fixer_names