Brian Curtin <cur...@acm.org> added the comment: custom_add.py gives an example of how you could complete this on your own without a change to optparse. Running "custom_add.py -a foo -a bar -a foo" should print out "set(['foo', 'bar'])" - ultimately the same thing.
---------- Added file: http://bugs.python.org/file15757/custom_add.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7636> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com