paul j3 added the comment: By the way, parser.parse_args() uses parse_known_arg(). parse_known_args returns a Namespace and a list of unknown arguments. If that list is empty, parse_args returns the Namespace. If the list is not empty, parse_args raises an error.
So parse_known_args does not change how arguments are parsed. It just changes how the unknowns are handled. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14174> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com