Kaydet (Commit) 8c99a6d6 authored tarafından Berker Peksag's avatar Berker Peksag

Issue #23356: Simplify convert_arg_line_to_args example.

Patch by py.user.
üst f9681776
...@@ -1921,10 +1921,7 @@ Customizing file parsing ...@@ -1921,10 +1921,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
......
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