New submission from Michael Bikovitsky: It might be useful in some circumstances to be able to remove a subparser, however the module does not provide such functionality.
The proposed method takes the same arguments as the add_parser method and removes the matching subparser from the map (including aliases). ---------- components: Library (Lib) files: argparse_remove_parser.patch keywords: patch messages: 195494 nosy: Michael.Bikovitsky, bethard priority: normal severity: normal status: open title: argparse remove subparser type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31341/argparse_remove_parser.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com