D
Daniel Ortmann
Options are decided statically at program-creation time, yet
parser.add_option() needs to be called at *runtime* to build the
options.
This would be corrected if OptionParser() processed an optional data
structure of nested options. The current behavior would still be
available.
(P.S. Would it make sense to have a module-level "__opt__" entry similar
to "__doc__"?)
parser.add_option() needs to be called at *runtime* to build the
options.
This would be corrected if OptionParser() processed an optional data
structure of nested options. The current behavior would still be
available.
(P.S. Would it make sense to have a module-level "__opt__" entry similar
to "__doc__"?)