[docs] [issue20598] argparse docs: '7'.split() is confusing magic

Thomas Guettler report at bugs.python.org
Tue Feb 11 16:28:25 CET 2014


New submission from Thomas Guettler:

I think the docs of argparse still contain confusing magic:

parser.parse_args('7'.split())


You know what it does and I know it. But a lot of people new to Python, don't understand what this should be.

Please use:

parser.parse_args(['7'])


Close this ticket, if you don't care for people new to Python.

----------
assignee: docs at python
components: Documentation
messages: 210950
nosy: docs at python, guettli
priority: normal
severity: normal
status: open
title: argparse docs: '7'.split() is confusing magic
versions: Python 2.7

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


More information about the docs mailing list