diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-10-19 18:04:38 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-10-19 18:04:38 +0300 |
commit | f23530f5690d2e37bba7235a6398b2c386a5b485 (patch) | |
tree | 0e2ed390b1bc3007fa60dcc784f4ae3f3d21b1ff /Lib/idlelib/idle_test/mock_tk.py | |
parent | 0fc08fd2c7774a5521ae198b04639ec634fdb5c2 (diff) | |
download | cpython-f23530f5690d2e37bba7235a6398b2c386a5b485.tar.gz cpython-f23530f5690d2e37bba7235a6398b2c386a5b485.zip |
Issue #22186: Fix typos in Lib/.
Patch by Févry Thibault.
Diffstat (limited to 'Lib/idlelib/idle_test/mock_tk.py')
-rw-r--r-- | Lib/idlelib/idle_test/mock_tk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/mock_tk.py b/Lib/idlelib/idle_test/mock_tk.py index b9fd5216b93..a8030f4f5ca 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: |