diff options
author | Georg Brandl <georg@python.org> | 2010-10-06 10:26:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-06 10:26:05 (GMT) |
commit | 682d7e0e07bc29de4578f48be66756c5b969776f (patch) | |
tree | 4e1c379e13ebca676c4fbee38ed251ecc88c1133 /Doc/library/optparse.rst | |
parent | fa4f7f97b8af16c02441443e448986c07f4cd254 (diff) | |
download | cpython-682d7e0e07bc29de4578f48be66756c5b969776f.zip cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.gz cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.bz2 |
Fix errors found by "make suspicious".
Diffstat (limited to 'Doc/library/optparse.rst')
-rw-r--r-- | Doc/library/optparse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index 37226c3..e7de741 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -1212,7 +1212,7 @@ error message. :func:`float` and :func:`complex`, with similar error-handling. ``"choice"`` options are a subtype of ``"string"`` options. The -:attr:`~Option.choices`` option attribute (a sequence of strings) defines the +:attr:`~Option.choices` option attribute (a sequence of strings) defines the set of allowed option arguments. :func:`optparse.check_choice` compares user-supplied option arguments against this master list and raises :exc:`OptionValueError` if an invalid string is given. |