Steven D'Aprano <steve+pyt...@pearwood.info> added the comment: > Values like "1", "2", "3", should be supported.
You mean you want to call parser.add_argument('--foo', nargs="2") instead of parser.add_argument('--foo', nargs=2)? Why? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32474> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com