New submission from Armin Rigo:
$ LINES=20 python Lib/test/test_pydoc.py
...
File ".../Lib/pydoc.py", line 1448, in ttypager
r = inc = os.environ.get('LINES', 25) - 1
TypeError: unsupported operand type(s) for -: 'str' and 'int'
duh.
----------
components: Library (Lib)
messages: 226177
nosy: arigo
priority: normal
severity: normal
status: open
title: pydoc.py: TypeError with a $LINES defined to anything
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22314>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com