]> granicus.if.org Git - python/commitdiff
#6371: fix link targets.
authorGeorg Brandl <georg@python.org>
Tue, 30 Jun 2009 16:35:11 +0000 (16:35 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 30 Jun 2009 16:35:11 +0000 (16:35 +0000)
Doc/library/optparse.rst

index a07a7512e4f81b54f59ea6520d3ca48c27c8e991..a1055d8bfcc29ba8d397b17fb2d0350ddd2d67ef 100644 (file)
@@ -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: