Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0acb646b
Commit
0acb646b
authored
Jul 30, 2019
by
Terry Jan Reedy
Committed by
GitHub
Jul 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix idlelib typos discovered by min ho, pr 15018. (GH-15029)
parent
84846b01
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+1
-1
Lib/idlelib/README.txt
Lib/idlelib/README.txt
+3
-3
Lib/idlelib/configdialog.py
Lib/idlelib/configdialog.py
+1
-1
Lib/idlelib/history.py
Lib/idlelib/history.py
+1
-1
Lib/idlelib/idle_test/test_pyparse.py
Lib/idlelib/idle_test/test_pyparse.py
+2
-2
Lib/idlelib/pyparse.py
Lib/idlelib/pyparse.py
+1
-1
No files found.
Lib/idlelib/NEWS.txt
View file @
0acb646b
...
...
@@ -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 mome
m
tarily
bpo-37039: Adjust "Zoom Height" to individual screens by mome
n
tarily
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.
...
...
Lib/idlelib/README.txt
View file @
0acb646b
...
...
@@ -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 # Commu
n
icate 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.
...
...
@@ -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, displ
e
yed by About IDLE
README.txt # this file, displ
a
yed by About IDLE
TODO.txt # needs review
extend.txt # about writing extensions
help.html # copy of idle.html in docs, displayed by IDLE Help
...
...
@@ -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_debug
g
er
Stack Viewer # stackviewer, PyShell.open_stack_viewer
Auto-open Stack Viewer # stackviewer
...
...
Lib/idlelib/configdialog.py
View file @
0acb646b
...
...
@@ -1793,7 +1793,7 @@ class GenPage(Frame):
"""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 in
i
tializes 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
...
...
Lib/idlelib/history.py
View file @
0acb646b
...
...
@@ -39,7 +39,7 @@ class History:
return
"break"
def
fetch
(
self
,
reverse
):
'''Fetch stateme
m
t and replace current line in text widget.
'''Fetch stateme
n
t 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.
...
...
Lib/idlelib/idle_test/test_pyparse.py
View file @
0acb646b
...
...
@@ -206,8 +206,8 @@ class PyParseTest(unittest.TestCase):
'openbracket'
,
'bracketing'
])
tests
=
(
TestInfo
(
''
,
0
,
0
,
''
,
None
,
((
0
,
0
),)),
TestInfo
(
"'''This is a multiline continu
t
ation docstring.
\
n
\
n
"
,
0
,
4
9
,
"'"
,
None
,
((
0
,
0
),
(
0
,
1
),
(
49
,
0
))),
TestInfo
(
"'''This is a multiline continuation docstring.
\
n
\
n
"
,
0
,
4
8
,
"'"
,
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
...
...
Lib/idlelib/pyparse.py
View file @
0acb646b
...
...
@@ -575,7 +575,7 @@ class Parser:
return code[i:j]
def is_block_opener(self):
"
Return
True
if
the
last
interesting
statem
t
ent
opens
a
block
.
"
"
Return
True
if
the
last
interesting
statement
opens
a
block
.
"
self._study2()
return self.lastch == ':'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment