Krzysiek <krzych...@interia.pl> added the comment:

It seems the discussion has so far revolved around 'optional' arguments with 
`required=True`.

What about the other way around?

While trying to set `required=False` for a positional argument raises an 
exception, it is still possible to make the positional argument effectively 
optional by `nargs='?'` (it is then printed in brackets in usage message).

----------
nosy: +kkarbowiak

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

Reply via email to