[docs] [issue9182] document “--” as a way to distinguish option w/ narg='+' from positional argument in argparse

Daniel Albeseder report at bugs.python.org
Sun Nov 21 17:05:25 CET 2010


Daniel Albeseder <kotan at gmx.at> added the comment:

Steven: The last part I guess would belong better in issue 9334. Using a "--" to end all optionals is just a convention but "--" could also be the argument to some option as well. We need to limit this in any way, and the way it is done right now seem very reasonable for me.

Adding some additional unit tests testing this limits might be beneficial but I guess would be best done during issue 9334.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9182>
_______________________________________


More information about the docs mailing list