[docs] [BUG]About `add_mutually_exclusive_group' in argparse module doc

Georg Brandl georg at python.org
Sun Oct 6 13:10:30 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 15.05.2013 18:33, schrieb Tanky Woo:
> Today, I read the argparse doc and find the Mutual exclusion 
> section(http://docs.python.org/2/library/argparse.html#mutual-exclusion)
> has a problem
> 
> 
> The function `*add_mutually_exclusive_group*' in the section is :
> 
> *argparse.add_mutually_exclusive_group(required=False)*
> 
> but add_mutually_exclusive_group belongs to *ArgumentParser* object, not
> direct to *argparse*, maybe this is a bug?

Hi,

thanks for the report, this is indeed a bug.  I fixed it and it should appear
online soon.

cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)

iEYEARECAAYFAlJRRSYACgkQN9GcIYhpnLAvJgCgo3YGhcVYlw9zKCdBK+dXZwkE
FgsAoIJIML+cvQD/HFzOC/RZhnE/iTVg
=bmgx
-----END PGP SIGNATURE-----


More information about the docs mailing list