diff options
author | Georg Brandl <georg@python.org> | 2010-10-06 10:38:58 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-06 10:38:58 (GMT) |
commit | d098c3d94cd9bc74fa4d6f3a2752965e12860a03 (patch) | |
tree | b62f15f6b3e28c65c8c11c0949f100cc70db5181 /Doc/library/optparse.rst | |
parent | c755e90288ba6cdb38f0fbcce297fd7fbe35cfe6 (diff) | |
download | cpython-d098c3d94cd9bc74fa4d6f3a2752965e12860a03.zip cpython-d098c3d94cd9bc74fa4d6f3a2752965e12860a03.tar.gz cpython-d098c3d94cd9bc74fa4d6f3a2752965e12860a03.tar.bz2 |
Merged revisions 85274 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r85274 | georg.brandl | 2010-10-06 12:26:05 +0200 (Mi, 06 Okt 2010) | 1 line
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 918e3ec..0009998 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -1206,7 +1206,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. |