Issue #22314: pydoc now works when the LINES environment variable is set.