summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-02 04:04:57 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-02 04:04:57 (GMT)
commit2eb819f7a82c7eb61f2d253894d9973f0ec21df2 (patch)
treec881e371e6ae948cbd725afd91fa8f5b0c6c940f /Lib/idlelib
parent56275dc1e2a2f354620189efd751fa90af2118e1 (diff)
parent7462b64911f1e2df2de2285ddbf8b156b5cdc418 (diff)
downloadcpython-2eb819f7a82c7eb61f2d253894d9973f0ec21df2.zip
cpython-2eb819f7a82c7eb61f2d253894d9973f0ec21df2.tar.gz
cpython-2eb819f7a82c7eb61f2d253894d9973f0ec21df2.tar.bz2
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/EditorWindow.py2
-rw-r--r--Lib/idlelib/ReplaceDialog.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 8d6549c..34ef89d 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -1379,7 +1379,7 @@ class EditorWindow(object):
text.see("insert")
text.undo_block_stop()
- # Our editwin provides a is_char_in_string function that works
+ # Our editwin provides an is_char_in_string function that works
# with a Tk text index, but PyParse only knows about offsets into
# a string. This builds a function for PyParse that accepts an
# offset.
diff --git a/Lib/idlelib/ReplaceDialog.py b/Lib/idlelib/ReplaceDialog.py
index fc8b80f..2665a1c 100644
--- a/Lib/idlelib/ReplaceDialog.py
+++ b/Lib/idlelib/ReplaceDialog.py
@@ -59,7 +59,7 @@ class ReplaceDialog(SearchDialogBase):
def default_command(self, event=None):
if self.do_find(self.ok):
if self.do_replace(): # Only find next match if replace succeeded.
- # A bad re can cause a it to fail.
+ # A bad re can cause it to fail.
self.do_find(0)
def _replace_expand(self, m, repl):