summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-13 13:26:54 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-13 13:26:54 (GMT)
commit60c0be3acd5ba11392bb4dac4baf97aad1eebde3 (patch)
treeb9ceabbc82097673b1f421cce960a507e9384ac8 /Doc
parent111c180674379950f65113db8076919b2353f5ab (diff)
downloadcpython-60c0be3acd5ba11392bb4dac4baf97aad1eebde3.zip
cpython-60c0be3acd5ba11392bb4dac4baf97aad1eebde3.tar.gz
cpython-60c0be3acd5ba11392bb4dac4baf97aad1eebde3.tar.bz2
Clarification.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/optparse.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index 7987ceb..4bf544c 100644
--- a/Doc/library/optparse.rst
+++ b/Doc/library/optparse.rst
@@ -641,9 +641,9 @@ Or, where the user fails to pass a value at all::
option involved in the error; be sure to do the same when calling
``parser.error()`` from your application code.
-If :mod:`optparse`'s default error-handling behaviour does not suite your needs,
-you'll need to subclass OptionParser and override ``exit()`` and/or
-:meth:`error`.
+If :mod:`optparse`'s default error-handling behaviour does not suit your needs,
+you'll need to subclass OptionParser and override its :meth:`exit` and/or
+:meth:`error` methods.
.. _optparse-putting-it-all-together: