Kaydet (Commit) 60c0be3a authored tarafından Georg Brandl's avatar Georg Brandl

Clarification.

üst 111c1806
...@@ -641,9 +641,9 @@ Or, where the user fails to pass a value at all:: ...@@ -641,9 +641,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 option involved in the error; be sure to do the same when calling
``parser.error()`` from your application code. ``parser.error()`` from your application code.
If :mod:`optparse`'s default error-handling behaviour does not suite your needs, If :mod:`optparse`'s default error-handling behaviour does not suit your needs,
you'll need to subclass OptionParser and override ``exit()`` and/or you'll need to subclass OptionParser and override its :meth:`exit` and/or
:meth:`error`. :meth:`error` methods.
.. _optparse-putting-it-all-together: .. _optparse-putting-it-all-together:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment