Issue 13191: Typo in argparse documentation (original) (raw)

In the Docs mailing list a typo was pointed out in argparse docs.

http://docs.python.org/dev/library/argparse.html#metavar

"So, a single positional argument with dest='bar' will that argument will be referred to as bar."

"So, a single positional argument with dest='bar' WITH that argument will be referred to as bar."

Eli Bendersky:

I agree the original sentence makes little sense. But I'm not sure your correction fully fixes it either - "a single positional argument ... with that argument" doesn't sound right.

Perhaps it should just say:

"So, a single positional argument with dest='bar' will be referred to > as bar" ?

Patch says "So,a single positional argument with dest='bar' will be referred to as bar"