[Python-checkins] r64229 - python/trunk/Doc/library/optparse.rst

georg.brandl python-checkins at python.org
Fri Jun 13 15:26:55 CEST 2008


Author: georg.brandl
Date: Fri Jun 13 15:26:54 2008
New Revision: 64229

Log:
Clarification.


Modified:
   python/trunk/Doc/library/optparse.rst

Modified: python/trunk/Doc/library/optparse.rst
==============================================================================
--- python/trunk/Doc/library/optparse.rst	(original)
+++ python/trunk/Doc/library/optparse.rst	Fri Jun 13 15:26:54 2008
@@ -641,9 +641,9 @@
 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 suite your needs,
-you'll need to subclass OptionParser and override ``exit()`` and/or
-:meth:`error`.
+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.
 
 
 .. _optparse-putting-it-all-together:


More information about the Python-checkins mailing list