2424
2525# Modified by Brandon Navra
2626# Notes for Windows
27- # Prerequsites
27+ # Prerequisites
2828# - Curses
2929# - pyreadline
3030#
@@ -434,7 +434,7 @@ def check(self):
434434
435435 def clear_current_line (self ):
436436 """Called when a SyntaxError occurred in the interpreter. It is
437- used to prevent autoindentation from occuring after a
437+ used to prevent autoindentation from occurring after a
438438 traceback."""
439439 repl .Repl .clear_current_line (self )
440440 self .s = ''
@@ -449,7 +449,7 @@ def clear_wrapped_lines(self):
449449 self .scr .clrtoeol ()
450450
451451 def complete (self , tab = False ):
452- """Get Autcomplete list and window.
452+ """Get Autocomplete list and window.
453453
454454 Called whenever these should be updated, and called
455455 with tab
@@ -1375,7 +1375,7 @@ def lsize():
13751375 get_colpair (self .config , 'comment' ))
13761376 # XXX: After all the trouble I had with sizing the list box (I'm not very good
13771377 # at that type of thing) I decided to do this bit of tidying up here just to
1378- # make sure there's no unnececessary blank lines, it makes things look nicer.
1378+ # make sure there's no unnecessary blank lines, it makes things look nicer.
13791379
13801380 y = self .list_win .getyx ()[0 ]
13811381 self .list_win .resize (y + 2 , w )
@@ -1396,7 +1396,7 @@ def lsize():
13961396
13971397 def size (self ):
13981398 """Set instance attributes for x and y top left corner coordinates
1399- and width and heigth for the window."""
1399+ and width and height for the window."""
14001400 global stdscr
14011401 h , w = stdscr .getmaxyx ()
14021402 self .y = 0
@@ -1566,7 +1566,7 @@ def __init__(self, scr, pwin, background, config, s=None, c=None):
15661566
15671567 def size (self ):
15681568 """Set instance attributes for x and y top left corner coordinates
1569- and width and heigth for the window."""
1569+ and width and height for the window."""
15701570 h , w = gethw ()
15711571 self .y = h - 1
15721572 self .w = w
0 commit comments