]> granicus.if.org Git - python/commitdiff
Fix typo and double word.
authorGeorg Brandl <georg@python.org>
Mon, 24 Sep 2007 17:55:47 +0000 (17:55 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 24 Sep 2007 17:55:47 +0000 (17:55 +0000)
Doc/library/optparse.rst

index cfcd8a6599cfc6629352631b4000fd0f27b263ff..8b585b62f9e0a01eed4165e319b60a0ec208fd77 100644 (file)
@@ -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