SilentGhost added the comment:

If you're to drop the space between the argument and its value, e.g. 
try_args('-a-a'), it seems to work as intended. The third example (
try_args("-a", "--")) still wouldn't work, but it looks like a reasonable 
workaround to me.

----------
nosy: +SilentGhost, bethard

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26196>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to