mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
#6371: fix link targets.
This commit is contained in:
parent
3cd0bedc13
commit
0c9eb43149
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue