mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. (#2283)
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.
This commit is contained in:
parent
18974c35ad
commit
42bc8beadd
6 changed files with 141 additions and 100 deletions
|
@ -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__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue