From: Georg Brandl Date: Fri, 13 Jun 2008 13:26:54 +0000 (+0000) Subject: Clarification. X-Git-Tag: v2.6b1~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60c0be3acd5ba11392bb4dac4baf97aad1eebde3;p=thirdparty%2FPython%2Fcpython.git Clarification. --- diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index 7987ceb47b64..4bf544ce3ebe 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: