diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-10-19 15:07:05 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-10-19 15:07:05 (GMT) |
commit | 1ed2e69a4ac1a4ac5a83ce3ab332b3051eaf59f0 (patch) | |
tree | 141b094c4dc7ce5297eb46e9ce881651abf9a71d /Lib/idlelib | |
parent | 8c06ac5e5817fc7038c92115035107f9ff6c7a64 (diff) | |
parent | f23530f5690d2e37bba7235a6398b2c386a5b485 (diff) | |
download | cpython-1ed2e69a4ac1a4ac5a83ce3ab332b3051eaf59f0.zip cpython-1ed2e69a4ac1a4ac5a83ce3ab332b3051eaf59f0.tar.gz cpython-1ed2e69a4ac1a4ac5a83ce3ab332b3051eaf59f0.tar.bz2 |
Issue #22186: Fix typos in Lib/.
Patch by FĂ©vry Thibault.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/idle_test/htest.py | 2 | ||||
-rw-r--r-- | Lib/idlelib/idle_test/mock_tk.py | 2 | ||||
-rw-r--r-- | Lib/idlelib/idle_test/test_autoexpand.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py index d673fe4..1fe5ad4 100644 --- a/Lib/idlelib/idle_test/htest.py +++ b/Lib/idlelib/idle_test/htest.py @@ -171,7 +171,7 @@ GetKeysDialog_spec = { "<nothing> is invalid.\n" "No modifier key is invalid.\n" "Shift key with [a-z],[0-9], function key, move key, tab, space" - "is invalid.\nNo validitity checking if advanced key binding " + "is invalid.\nNo validity checking if advanced key binding " "entry is used." } diff --git a/Lib/idlelib/idle_test/mock_tk.py b/Lib/idlelib/idle_test/mock_tk.py index b9fd521..a8030f4 100644 --- a/Lib/idlelib/idle_test/mock_tk.py +++ b/Lib/idlelib/idle_test/mock_tk.py @@ -116,7 +116,7 @@ class Text: """Return a (line, char) tuple of int indexes into self.data. This implements .index without converting the result back to a string. - The result is contrained by the number of lines and linelengths of + The result is constrained by the number of lines and linelengths of self.data. For many indexes, the result is initially (1, 0). The input index may have any of several possible forms: diff --git a/Lib/idlelib/idle_test/test_autoexpand.py b/Lib/idlelib/idle_test/test_autoexpand.py index 7f112a0..7ca941e 100644 --- a/Lib/idlelib/idle_test/test_autoexpand.py +++ b/Lib/idlelib/idle_test/test_autoexpand.py @@ -78,7 +78,7 @@ class AutoExpandTest(unittest.TestCase): equal(previous(), 'a') def test_after_only(self): - # Also add punctuation 'noise' that shoud be ignored. + # Also add punctuation 'noise' that should be ignored. text = self.text previous = self.auto_expand.getprevword expand = self.auto_expand.expand_word_event |