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