Python issue #6454 (http://bugs.python.org/issue6454) states that there should be an "Examples" section, created via an "examples" keyword in the Optparse constructor.
A broader approach would be to allow *any* new group. For example, quite common in GNU man pages are sections "Examples", "Author", "Bugs", "Copyright" and so forth.
One possible way to achieve that would be a new subclass...
2009-10-14 06:56:31 UTC by boldewyn