mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #23356: Simplify convert_arg_line_to_args example.
Patch by py.user.
This commit is contained in:
parent
f9681776c9
commit
8c99a6d604
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue