[issue19462] Add remove_argument() method to argparse.ArgumentParser

Artem Ustinov report at bugs.python.org
Wed Nov 13 18:21:46 CET 2013


Artem Ustinov added the comment:

What is the way to 'hide' the argument from being parsed?

E.g. we have self.parser.add_argument('foo') in parent class,
how can we modify it in child class so that it would not to
appear in --help strings and not populated to child's Namespace?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19462>
_______________________________________


More information about the Python-bugs-list mailing list