diff options
-rw-r--r-- | Doc/library/argparse.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 73f9480..ebf88fa 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -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 |