summaryrefslogtreecommitdiffstats
path: root/Doc/library/optparse.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/optparse.rst')
-rw-r--r--Doc/library/optparse.rst2
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.