paul j3 added the comment: oops - to fix the error message that OP complained about, I need to patch '_get_action_name' as well:
def _get_action_name(argument): ... elif argument.metavar not in (None, SUPPRESS): metavar = argument.metavar if isinstance(metavar, tuple): metavar = '|'.join(metavar) return metavar ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14074> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com