From: Georg Brandl Date: Mon, 24 Sep 2007 17:55:47 +0000 (+0000) Subject: Fix typo and double word. X-Git-Tag: v2.6a1~1254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97ca58370a50b1cae1a56f68d4d9705522d3275f;p=python Fix typo and double word. --- diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index cfcd8a6599..8b585b62f9 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -954,7 +954,7 @@ must specify for any option using that action. * ``append_const`` [required: ``const``; relevant: :attr:`dest`] Like ``store_const``, but the value ``const`` is appended to :attr:`dest`; as - with ``append``, :attr:`dest` defaults to ``None``, and an an empty list is + with ``append``, :attr:`dest` defaults to ``None``, and an empty list is automatically created the first time the option is encountered. * ``count`` [relevant: :attr:`dest`] @@ -1120,7 +1120,7 @@ Integer arguments (type ``int`` or ``long``) are parsed as follows: * if the number starts with ``0``, it is parsed as an octal number -* if the number starts with ``0b``, is is parsed as a binary number +* if the number starts with ``0b``, it is parsed as a binary number * otherwise, the number is parsed as a decimal number