diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2017-11-05 13:37:50 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-05 13:37:50 (GMT) |
commit | a5293b4ff2c1b5446947b4986f98ecf5d52432d4 (patch) | |
tree | be2f5e686be63814c02eabc61a899631ec7a08ac /Lib/idlelib | |
parent | cf296537f164abeacd83011239881f75f290ed31 (diff) | |
download | cpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.zip cpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.tar.gz cpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.tar.bz2 |
Fix miscellaneous typos (#4275)
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/NEWS.txt | 2 | ||||
-rw-r--r-- | Lib/idlelib/browser.py | 2 | ||||
-rw-r--r-- | Lib/idlelib/idle_test/test_replace.py | 4 | ||||
-rw-r--r-- | Lib/idlelib/paragraph.py | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index a1a5d80..a7a1e9f 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -81,7 +81,7 @@ extension.cfg. All take effect as soon as one clicks Apply or Ok. '<<zoom-height>>'. Any (global) customizations made before 3.6.3 will not affect their keyset-specific customization after 3.6.3. and vice versa. - Inital patch by Charles Wohlganger, revised by Terry Jan Reedy. + Initial patch by Charles Wohlganger, revised by Terry Jan Reedy. bpo-31051: Rearrange condigdialog General tab. Sort non-Help options into Window (Shell+Editor) and Editor (only). diff --git a/Lib/idlelib/browser.py b/Lib/idlelib/browser.py index a185ed5..79eaeb7 100644 --- a/Lib/idlelib/browser.py +++ b/Lib/idlelib/browser.py @@ -58,7 +58,7 @@ class ModuleBrowser: """Browse module classes and functions in IDLE. """ # This class is also the base class for pathbrowser.PathBrowser. - # Init and close are inherited, other methods are overriden. + # Init and close are inherited, other methods are overridden. # PathBrowser.__init__ does not call __init__ below. def __init__(self, master, path, *, _htest=False, _utest=False): diff --git a/Lib/idlelib/idle_test/test_replace.py b/Lib/idlelib/idle_test/test_replace.py index 2ecbd34..df76dec 100644 --- a/Lib/idlelib/idle_test/test_replace.py +++ b/Lib/idlelib/idle_test/test_replace.py @@ -74,14 +74,14 @@ class ReplaceDialogTest(unittest.TestCase): replace() equal(text.get('1.8', '1.12'), 'asdf') - # dont "match word" case + # don't "match word" case text.mark_set('insert', '1.0') pv.set('is') rv.set('hello') replace() equal(text.get('1.2', '1.7'), 'hello') - # dont "match case" case + # don't "match case" case pv.set('string') rv.set('world') replace() diff --git a/Lib/idlelib/paragraph.py b/Lib/idlelib/paragraph.py index cf8dfdb..1270115 100644 --- a/Lib/idlelib/paragraph.py +++ b/Lib/idlelib/paragraph.py @@ -158,7 +158,7 @@ def reformat_comment(data, limit, comment_header): newdata = reformat_paragraph(data, format_width) # re-split and re-insert the comment header. newdata = newdata.split("\n") - # If the block ends in a \n, we dont want the comment prefix + # If the block ends in a \n, we don't want the comment prefix # inserted after it. (Im not sure it makes sense to reformat a # comment block that is not made of complete lines, but whatever!) # Can't think of a clean solution, so we hack away |