This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: optparse library documentation has an insignificant formatting issue
Type: Stage: resolved
Components: Documentation Versions: Python 3.1, Python 3.2, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: ezio.melotti, georg.brandl, july, vazovsky
Priority: normal Keywords: patch

Created on 2010-01-01 18:45 by vazovsky, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
doc-library-optparse.diff july, 2010-01-02 18:41 simply adds line '.. code-block:: text' in right places
Messages (3)
msg97119 - (view) Author: Artem (vazovsky) Date: 2010-01-01 18:45
In optparse documentation, in the end of first chapter there is an
example which shows how optparse can print usage summary for user. In
the last row of this example text color is accidentally changed from
black to blue. Most probably the source of this issue is single quote
sign which is misinterpreted by the code highlighter.
msg97143 - (view) Author: July Tikhonov (july) * Date: 2010-01-02 18:41
Also, I found 4 similar problems in this text (seach 'usage:' to find 
them).

These are resolved in this patch.
msg97156 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2010-01-03 09:14
Fixed in r77267 (trunk), r77268 (release26-maint), r77269 (py3k), r77270 (release31-maint), thanks!
History
Date User Action Args
2022-04-11 14:56:56adminsetgithub: 51867
2010-01-03 09:14:41ezio.melottisetstatus: open -> closed
priority: normal
versions: + Python 2.6, Python 2.7, Python 3.2
messages: + msg97156

resolution: fixed
stage: resolved
2010-01-02 18:48:01georg.brandlsetassignee: georg.brandl -> ezio.melotti

nosy: + ezio.melotti
2010-01-02 18:41:53julysetfiles: + doc-library-optparse.diff

nosy: + july
messages: + msg97143

keywords: + patch
2010-01-01 18:45:47vazovskycreate