[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:

nosy: +haypo

Python tracker <report at bugs.python.org>

More information about the docs mailing list