summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-30 16:35:11 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-30 16:35:11 (GMT)
commit0c9eb431491387fc68940e2b24dc873f3147e0c8 (patch)
treef67a5ecad5b16013909925ee4821e105d560d70c /Doc/library
parent3cd0bedc130eb4fd4282e1e594f9c66370df0b93 (diff)
downloadcpython-0c9eb431491387fc68940e2b24dc873f3147e0c8.zip
cpython-0c9eb431491387fc68940e2b24dc873f3147e0c8.tar.gz
cpython-0c9eb431491387fc68940e2b24dc873f3147e0c8.tar.bz2
#6371: fix link targets.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/optparse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index a07a751..a1055d8 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: