Issue #23356: Simplify convert_arg_line_to_args example.
Patch by py.user.
This commit is contained in:
commit
a7edf1e57c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue