[issue23356] In argparse docs simplify example about argline

2015-04-26 Thread Berker Peksag
Berker Peksag added the comment: Thanks py.user. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue23356] In argparse docs simplify example about argline

2015-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 050e0c0b3d90 by Berker Peksag in branch '2.7': Issue #23356: Simplify convert_arg_line_to_args example. https://hg.python.org/cpython/rev/050e0c0b3d90 -- ___ Python tracker

[issue23356] In argparse docs simplify example about argline

2015-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset bd8b99034121 by Berker Peksag in branch '3.4': Issue #23356: Simplify convert_arg_line_to_args example. https://hg.python.org/cpython/rev/bd8b99034121 New changeset 2d3ed019bc9f by Berker Peksag in branch 'default': Issue #23356: Simplify convert_ar

[issue23356] In argparse docs simplify example about argline

2015-04-24 Thread Wolfgang Maier
Changes by Wolfgang Maier : -- nosy: +wolma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23356] In argparse docs simplify example about argline

2015-04-24 Thread Berker Peksag
Berker Peksag added the comment: LGTM -- assignee: docs@python -> berker.peksag nosy: +berker.peksag stage: -> commit review type: performance -> enhancement versions: +Python 3.5 ___ Python tracker __

[issue23356] In argparse docs simplify example about argline

2015-01-31 Thread py.user
py.user added the comment: Url https://docs.python.org/3/library/argparse.html#customizing-file-parsing -- ___ Python tracker ___ ___

[issue23356] In argparse docs simplify example about argline

2015-01-31 Thread py.user
New submission from py.user: The example is: def convert_arg_line_to_args(self, arg_line): for arg in arg_line.split(): if not arg.strip(): continue yield arg str.split() with default delimiters never returns empty or whitespace strings in the list. >>> ' x x