]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarification.
authorGeorg Brandl <georg@python.org>
Fri, 13 Jun 2008 13:26:54 +0000 (13:26 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 13 Jun 2008 13:26:54 +0000 (13:26 +0000)
Doc/library/optparse.rst

index 7987ceb47b6457562e103d30ae56f00b777aa1ca..4bf544ce3ebe496f61c16cd25551103a3da68eb6 100644 (file)
@@ -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: