diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/optparse.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index 3bdfab4..bd0b02a 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -636,9 +636,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: |