Éric Araujo mer...@netwok.org added the comment:
Agreed, this looks like a doc glitch.
--
assignee: - docs@python
components: +Documentation -Library (Lib)
nosy: +docs@python, eric.araujo, ezio.melotti
___
Python tracker rep...@bugs.python.org
Tim Willis schadenfreude...@gmail.com added the comment:
The documentation appears to be up to date in the current 2.7 repository, so
this can probably be marked as closed/fixed.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Ah, I did not see that your first message talked about the dev doc, which is
3.3.
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Tim Willis schadenfreude...@gmail.com added the comment:
Attaching a patch which merges aliases code from 3.2 back into 2.7.
--
keywords: +patch
Added file: http://bugs.python.org/file24339/argparse_aliases.patch
___
Python tracker
Tim Willis schadenfreude...@gmail.com added the comment:
adding package author to nosy list
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13879
___
Steven Bethard steven.beth...@gmail.com added the comment:
This is a new feature, not a bug, so I think the correct fix is to change the
2.7 documentation, since at this point 2.7 can only get bugfixes, not new
features.
--
___
Python tracker
New submission from Tim Willis schadenfreude...@gmail.com:
Argparse documentation in 2.7 indicates support for an 'aliases' kwarg.
(Fourth example down from
http://docs.python.org/dev/library/argparse.html#sub-commands)
While aliases work as expected in 3.2, use in 2.7 results in TypeError: