Xiang Zhang added the comment:
This error occurs due to there is no action belong to the mutexGroup, the code
requires at least one. You can simply add
mutexGroup.add_argument('--foo', action='store_true')
and you'll see the error disappears. I have no idea that this behaviour is
intended or not.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26952>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com