From: Georg Brandl Date: Tue, 30 Jun 2009 16:35:11 +0000 (+0000) Subject: #6371: fix link targets. X-Git-Tag: v2.7a1~869 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c9eb431491387fc68940e2b24dc873f3147e0c8;p=python #6371: fix link targets. --- diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index a07a7512e4..a1055d8bfc 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -642,8 +642,8 @@ 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 suit your needs, -you'll need to subclass OptionParser and override its :meth:`exit` and/or -:meth:`error` methods. +you'll need to subclass OptionParser and override its :meth:`~OptionParser.exit` +and/or :meth:`~OptionParser.error` methods. .. _optparse-putting-it-all-together: