Skip to content

Fix idlelib typos discovered by min ho, pr 15018. #15029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/idlelib/NEWS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ run dialogs.
bpo-37321: Both subprocess connection error messages now refer to
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
screen settings may invalidate the saved height. While a window is
maximized, "Zoom Height" has no effect.
Expand Down
6 changes: 3 additions & 3 deletions Lib/idlelib/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pyshell.py # Start IDLE, manage shell, complete editor window
query.py # Query user for information
redirector.py # Intercept widget subcommands (for percolator) (nim).
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.
run.py # Manage user code execution subprocess.
runscript.py # Check and run user code.
Expand Down Expand Up @@ -97,7 +97,7 @@ Text
CREDITS.txt # not maintained, displayed by About IDLE
HISTORY.txt # NEWS up to July 2001
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
extend.txt # about writing extensions
help.html # copy of idle.html in docs, displayed by IDLE Help
Expand Down Expand Up @@ -166,7 +166,7 @@ Shell # pyshell

Debug (Shell only)
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
Auto-open Stack Viewer # stackviewer

Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/configdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,7 @@ def create_page_general(self):
"""Return frame of widgets for General tab.

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
set var startup_edit. Radiobuttons save_ask_on and save_auto_on
set var autosave. Entry boxes win_width_int and win_height_int
Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def history_prev(self, event):
return "break"

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.
Reset them to None, None when returning to the start line.
Expand Down
4 changes: 2 additions & 2 deletions Lib/idlelib/idle_test/test_pyparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ def test_study2(self):
'openbracket', 'bracketing'])
tests = (
TestInfo('', 0, 0, '', None, ((0, 0),)),
TestInfo("'''This is a multiline continutation docstring.\n\n",
0, 49, "'", None, ((0, 0), (0, 1), (49, 0))),
TestInfo("'''This is a multiline continuation docstring.\n\n",
0, 48, "'", None, ((0, 0), (0, 1), (48, 0))),
TestInfo(' # Comment\\\n',
0, 12, '', None, ((0, 0), (1, 1), (12, 0))),
# A comment without a space is a special case
Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/pyparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def get_base_indent_string(self):
return code[i:j]

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()
return self.lastch == ':'

Expand Down