[docs] [issue20598] argparse docs: '7'.split() is confusing magic
STINNER Victor
report at bugs.python.org
Tue Feb 11 16:35:36 CET 2014
STINNER Victor added the comment:
I agree that '7'.split() looks strange, an explicit list would be more obvious and simpler: ['7'].
'X --foo Y'.split() can be replaced with ['X', '--foo', 'Y'].
argparse examples:
http://docs.python.org/dev/library/argparse.html#type
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20598>
_______________________________________
More information about the docs
mailing list