This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients docs@python, guettli, vstinner
Date 2014-02-11.15:35:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392132936.78.0.248656068289.issue20598@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-02-11 15:35:36vstinnersetrecipients: + vstinner, guettli, docs@python
2014-02-11 15:35:36vstinnersetmessageid: <1392132936.78.0.248656068289.issue20598@psf.upfronthosting.co.za>
2014-02-11 15:35:36vstinnerlinkissue20598 messages
2014-02-11 15:35:36vstinnercreate