diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2002-03-03 03:12:30 (GMT) |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2002-03-03 03:12:30 (GMT) |
commit | 54e0eabc2d3343c1ab71f5fb90fdda2f06b606e1 (patch) | |
tree | f4edbedafa0f177dc60cb98c106d797196ef7e32 /Lib | |
parent | 6c73af2754bcf9f107cc943c7ab9a4fd58e08039 (diff) | |
download | cpython-54e0eabc2d3343c1ab71f5fb90fdda2f06b606e1.zip cpython-54e0eabc2d3343c1ab71f5fb90fdda2f06b606e1.tar.gz cpython-54e0eabc2d3343c1ab71f5fb90fdda2f06b606e1.tar.bz2 |
OS/2 more program behaves like Win32 more
(see patch #514490, by Stefan Schwarzer)
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/pydoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index ab11d00..b878486 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1184,7 +1184,7 @@ def getpager(): return lambda text: pipepager(plain(text), os.environ['PAGER']) else: return lambda text: pipepager(text, os.environ['PAGER']) - if sys.platform == 'win32': + if sys.platform == 'win32' or sys.platform.startswith('os2'): return lambda text: tempfilepager(plain(text), 'more <') if hasattr(os, 'system') and os.system('less 2>/dev/null') == 0: return lambda text: pipepager(text, 'less') |