[New-bugs-announce] [issue13879] Argparse does not support subparser aliases in 2.7

Tim Willis report at bugs.python.org
Thu Jan 26 17:59:28 CET 2012


New submission from Tim Willis <schadenfreude328 at 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: __init__() got an unexpected keyword argument 'aliases'

----------
components: Library (Lib)
messages: 152024
nosy: Tim.Willis
priority: normal
severity: normal
status: open
title: Argparse does not support subparser aliases in 2.7
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13879>
_______________________________________


More information about the New-bugs-announce mailing list