[New-bugs-announce] [issue10870] Last line of argparse code samples can not be read on Windows

Baptiste Lepilleur report at bugs.python.org
Sun Jan 9 09:59:46 CET 2011

New submission from Baptiste Lepilleur <blep at users.sourceforge.net>:

When the code samples from the CHM documentation are displayed, if the lines are too long, a scroll bar is added at the bottom which prevents reading the last line of the code sample.

Usually this can be worked-around by making the windows larger, but some examples in the documentation of the argparse are so wide that even in full screen, the window is not wide enough.

I attached a screen capture to illustrate the issue (taken from section nargs of Python 3.2b2). This is even worth with one-liner code sample when not browsing full screen (e.g. with the index on the side).

Environment: Windows XP SP3, resolution: 1024x768, python 3.2b2.

I don't know if it is possible, but adding a blank line at the end of code sample that are more than 80 characters wide would likely work-around the issue.

assignee: docs at python
components: Documentation
files: argparse-codesample-unreadable.png
messages: 125832
nosy: blep, docs at python
priority: normal
severity: normal
status: open
title: Last line of argparse code samples can not be read on Windows
versions: Python 3.2
Added file: http://bugs.python.org/file20321/argparse-codesample-unreadable.png

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list