diff options
author | Georg Brandl <georg@python.org> | 2007-09-24 17:55:47 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-24 17:55:47 (GMT) |
commit | 97ca58370a50b1cae1a56f68d4d9705522d3275f (patch) | |
tree | cedd48d177fa4e9575b6def99086f2e4f86a7826 /Doc | |
parent | ad8fb0d47ce7709f3c6b9589c52cfd6f6467ac63 (diff) | |
download | cpython-97ca58370a50b1cae1a56f68d4d9705522d3275f.zip cpython-97ca58370a50b1cae1a56f68d4d9705522d3275f.tar.gz cpython-97ca58370a50b1cae1a56f68d4d9705522d3275f.tar.bz2 |
Fix typo and double word.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/optparse.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index cfcd8a6..8b585b6 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 |