There was an error while loading. Please reload this page.
2 parents f789465 + 8c99a6d commit a7edf1eCopy full SHA for a7edf1e
1 file changed
Doc/library/argparse.rst
@@ -1948,10 +1948,7 @@ Customizing file parsing
1948
as an argument::
1949
1950
def convert_arg_line_to_args(self, arg_line):
1951
- for arg in arg_line.split():
1952
- if not arg.strip():
1953
- continue
1954
- yield arg
+ return arg_line.split()
1955
1956
1957
Exiting methods
0 commit comments