Issue #23356: Simplify convert_arg_line_to_args example.

Patch by py.user.
This commit is contained in:
Berker Peksag 2015-04-26 12:09:54 +03:00
parent f9681776c9
commit 8c99a6d604
1 changed files with 1 additions and 4 deletions

View File

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