Issue #23356: Simplify convert_arg_line_to_args example.

Patch by py.user.
This commit is contained in:
Berker Peksag 2015-04-26 12:10:27 +03:00
commit a7edf1e57c
1 changed files with 1 additions and 4 deletions

View File

@ -1948,10 +1948,7 @@ Customizing file parsing
as an argument:: as an argument::
def convert_arg_line_to_args(self, arg_line): def convert_arg_line_to_args(self, arg_line):
for arg in arg_line.split(): return arg_line.split()
if not arg.strip():
continue
yield arg
Exiting methods Exiting methods