diff options
author | terryjreedy <tjreedy@udel.edu> | 2017-06-29 23:15:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-29 23:15:18 (GMT) |
commit | 6f31717c47e325460e2a661bf44b45d342d65bcb (patch) | |
tree | 5b68309a4788153ba3d04b83f706a5ae440aa3db /Lib/idlelib/pyshell.py | |
parent | 1d56ed5210babb68b5798cd943bb21f417e781ee (diff) | |
download | cpython-6f31717c47e325460e2a661bf44b45d342d65bcb.zip cpython-6f31717c47e325460e2a661bf44b45d342d65bcb.tar.gz cpython-6f31717c47e325460e2a661bf44b45d342d65bcb.tar.bz2 |
[3.6] bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. (GH-2283) (#2496)
Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances
of the latter two can be placed with other widgets within a multiframe window.
Patch by Cheryl Sabella.
(cherry picked from commit 42bc8be)
Diffstat (limited to 'Lib/idlelib/pyshell.py')
-rwxr-xr-x | Lib/idlelib/pyshell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py index 5b0e5b2..be7bd3d 100755 --- a/Lib/idlelib/pyshell.py +++ b/Lib/idlelib/pyshell.py @@ -892,7 +892,7 @@ class PyShell(OutputWindow): try: # page help() text to shell. import pydoc # import must be done here to capture i/o rebinding. - # XXX KBK 27Dec07 use TextViewer someday, but must work w/o subproc + # XXX KBK 27Dec07 use text viewer someday, but must work w/o subproc pydoc.pager = pydoc.plainpager except: sys.stderr = sys.__stderr__ |