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.

Author MarkRoddy
Recipients MarkRoddy, georg.brandl
Date 2009-11-28.03:12:42
SpamBayes Score 5.5064493e-06
Marked as misclassified No
Message-id <1259377966.36.0.486259270616.issue7404@psf.upfronthosting.co.za>
In-reply-to
Content
In the 'Terminology' section of the optparse module documentation, under
the description of the term 'required option', a reference to example
implementations of this concept are stated to be available in two
example files of the source distribution:

"See examples/required_1.py and examples/required_2.py in the optparse
source distribution for two ways to implement required options with
optparse."

These two files do not appear to have ever been available with python 
but are found in the original 'Optik' distribution that this module is
derived from.  I am guessing that this is a result of the documentation
being copied when the module was added to the standard library as it
also appears in the Optik documentation almost verbatim:
http://optik.sourceforge.net/doc/1.5/tao.html

Suggest the reference to these files:
1) Be removed as to prevent confusion as to their existence/location
2) Be updated to point to the Optik source on source forge
3) Merge the examples in line with the documentation
or
4) Some other option I have not thought of
History
Date User Action Args
2009-11-28 03:12:47MarkRoddysetrecipients: + MarkRoddy, georg.brandl
2009-11-28 03:12:46MarkRoddysetmessageid: <1259377966.36.0.486259270616.issue7404@psf.upfronthosting.co.za>
2009-11-28 03:12:44MarkRoddylinkissue7404 messages
2009-11-28 03:12:42MarkRoddycreate