Fix idlelib typos discovered by min ho, pr 15018. (GH-15029)
This commit is contained in:
parent
84846b0187
commit
0acb646b8e
|
@ -38,7 +38,7 @@ run dialogs.
|
||||||
bpo-37321: Both subprocess connection error messages now refer to
|
bpo-37321: Both subprocess connection error messages now refer to
|
||||||
the 'Startup failure' section of the IDLE doc.
|
the 'Startup failure' section of the IDLE doc.
|
||||||
|
|
||||||
bpo-37039: Adjust "Zoom Height" to individual screens by momemtarily
|
bpo-37039: Adjust "Zoom Height" to individual screens by momentarily
|
||||||
maximizing the window on first use with a particular screen. Changing
|
maximizing the window on first use with a particular screen. Changing
|
||||||
screen settings may invalidate the saved height. While a window is
|
screen settings may invalidate the saved height. While a window is
|
||||||
maximized, "Zoom Height" has no effect.
|
maximized, "Zoom Height" has no effect.
|
||||||
|
|
|
@ -68,7 +68,7 @@ pyshell.py # Start IDLE, manage shell, complete editor window
|
||||||
query.py # Query user for information
|
query.py # Query user for information
|
||||||
redirector.py # Intercept widget subcommands (for percolator) (nim).
|
redirector.py # Intercept widget subcommands (for percolator) (nim).
|
||||||
replace.py # Search and replace pattern in text.
|
replace.py # Search and replace pattern in text.
|
||||||
rpc.py # Commuicate between idle and user processes (nim).
|
rpc.py # Communicate between idle and user processes (nim).
|
||||||
rstrip.py # Strip trailing whitespace.
|
rstrip.py # Strip trailing whitespace.
|
||||||
run.py # Manage user code execution subprocess.
|
run.py # Manage user code execution subprocess.
|
||||||
runscript.py # Check and run user code.
|
runscript.py # Check and run user code.
|
||||||
|
@ -97,7 +97,7 @@ Text
|
||||||
CREDITS.txt # not maintained, displayed by About IDLE
|
CREDITS.txt # not maintained, displayed by About IDLE
|
||||||
HISTORY.txt # NEWS up to July 2001
|
HISTORY.txt # NEWS up to July 2001
|
||||||
NEWS.txt # commits, displayed by About IDLE
|
NEWS.txt # commits, displayed by About IDLE
|
||||||
README.txt # this file, displeyed by About IDLE
|
README.txt # this file, displayed by About IDLE
|
||||||
TODO.txt # needs review
|
TODO.txt # needs review
|
||||||
extend.txt # about writing extensions
|
extend.txt # about writing extensions
|
||||||
help.html # copy of idle.html in docs, displayed by IDLE Help
|
help.html # copy of idle.html in docs, displayed by IDLE Help
|
||||||
|
@ -166,7 +166,7 @@ Shell # pyshell
|
||||||
|
|
||||||
Debug (Shell only)
|
Debug (Shell only)
|
||||||
Go to File/Line
|
Go to File/Line
|
||||||
debugger # debugger, debugger_r, PyShell.toggle_debuger
|
debugger # debugger, debugger_r, PyShell.toggle_debugger
|
||||||
Stack Viewer # stackviewer, PyShell.open_stack_viewer
|
Stack Viewer # stackviewer, PyShell.open_stack_viewer
|
||||||
Auto-open Stack Viewer # stackviewer
|
Auto-open Stack Viewer # stackviewer
|
||||||
|
|
||||||
|
|
|
@ -1793,7 +1793,7 @@ class GenPage(Frame):
|
||||||
"""Return frame of widgets for General tab.
|
"""Return frame of widgets for General tab.
|
||||||
|
|
||||||
Enable users to provisionally change general options. Function
|
Enable users to provisionally change general options. Function
|
||||||
load_general_cfg intializes tk variables and helplist using
|
load_general_cfg initializes tk variables and helplist using
|
||||||
idleConf. Radiobuttons startup_shell_on and startup_editor_on
|
idleConf. Radiobuttons startup_shell_on and startup_editor_on
|
||||||
set var startup_edit. Radiobuttons save_ask_on and save_auto_on
|
set var startup_edit. Radiobuttons save_ask_on and save_auto_on
|
||||||
set var autosave. Entry boxes win_width_int and win_height_int
|
set var autosave. Entry boxes win_width_int and win_height_int
|
||||||
|
|
|
@ -39,7 +39,7 @@ class History:
|
||||||
return "break"
|
return "break"
|
||||||
|
|
||||||
def fetch(self, reverse):
|
def fetch(self, reverse):
|
||||||
'''Fetch statememt and replace current line in text widget.
|
'''Fetch statement and replace current line in text widget.
|
||||||
|
|
||||||
Set prefix and pointer as needed for successive fetches.
|
Set prefix and pointer as needed for successive fetches.
|
||||||
Reset them to None, None when returning to the start line.
|
Reset them to None, None when returning to the start line.
|
||||||
|
|
|
@ -206,8 +206,8 @@ class PyParseTest(unittest.TestCase):
|
||||||
'openbracket', 'bracketing'])
|
'openbracket', 'bracketing'])
|
||||||
tests = (
|
tests = (
|
||||||
TestInfo('', 0, 0, '', None, ((0, 0),)),
|
TestInfo('', 0, 0, '', None, ((0, 0),)),
|
||||||
TestInfo("'''This is a multiline continutation docstring.\n\n",
|
TestInfo("'''This is a multiline continuation docstring.\n\n",
|
||||||
0, 49, "'", None, ((0, 0), (0, 1), (49, 0))),
|
0, 48, "'", None, ((0, 0), (0, 1), (48, 0))),
|
||||||
TestInfo(' # Comment\\\n',
|
TestInfo(' # Comment\\\n',
|
||||||
0, 12, '', None, ((0, 0), (1, 1), (12, 0))),
|
0, 12, '', None, ((0, 0), (1, 1), (12, 0))),
|
||||||
# A comment without a space is a special case
|
# A comment without a space is a special case
|
||||||
|
|
|
@ -575,7 +575,7 @@ class Parser:
|
||||||
return code[i:j]
|
return code[i:j]
|
||||||
|
|
||||||
def is_block_opener(self):
|
def is_block_opener(self):
|
||||||
"Return True if the last interesting statemtent opens a block."
|
"Return True if the last interesting statement opens a block."
|
||||||
self._study2()
|
self._study2()
|
||||||
return self.lastch == ':'
|
return self.lastch == ':'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue