Commit ba14aa52 authored by Berker Peksag's avatar Berker Peksag

Issue #23356: Simplify convert_arg_line_to_args example.

Patch by py.user.
parent 1aac164f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment