Commit a7edf1e5 authored by Berker Peksag's avatar Berker Peksag

Issue #23356: Simplify convert_arg_line_to_args example.

Patch by py.user.
parents f789465e 8c99a6d6
......@@ -1948,10 +1948,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