@@ -35,7 +35,7 @@ class Mbox:
3535 """Mock for tkinter.messagebox with an Mbox_func for each function.
3636
3737 This module was 'tkMessageBox' in 2.x; hence the 'import as' in 3.x.
38- Example usage in test_module.py for testing functios in module.py:
38+ Example usage in test_module.py for testing functions in module.py:
3939 ---
4040from idlelib.idle_test.mock_tk import Mbox
4141import module
@@ -98,7 +98,7 @@ def _decode(self, index, endflag=0):
9898
9999 This implements .index without converting the result back to a string.
100100 The result is contrained by the number of lines and linelengths of
101- self.data. For many indexes, the result is initally (1, 0).
101+ self.data. For many indexes, the result is initially (1, 0).
102102
103103 The input index may have any of several possible forms:
104104 * line.char float: converted to 'line.char' string;
@@ -149,7 +149,7 @@ def _endex(self, endflag):
149149
150150 -1: position before terminal \n ; for .insert(), .delete
151151 0: position after terminal \n ; for .get, .delete index 1
152- 1: same viewed as begininning of non-existent next line (for .index)
152+ 1: same viewed as beginning of non-existent next line (for .index)
153153 '''
154154 n = len (self .data )
155155 if endflag == 1 :
@@ -271,7 +271,7 @@ def see(self, index):
271271 "Scroll screen to make the character at INDEX is visible."
272272 pass
273273
274- # The following is a Misc method inheritet by Text.
274+ # The following is a Misc method inherited by Text.
275275 # It should properly go in a Misc mock, but is included here for now.
276276
277277 def bind (sequence = None , func = None , add = None ):
0 commit comments