diff options
author | Georg Brandl <georg@python.org> | 2009-01-03 21:18:54 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-03 21:18:54 +0000 |
commit | e8e1ef2b43ba0bedf0069334f115a58afb126f0c (patch) | |
tree | b9ed90945f6a0ef937f38967b2fed7d43efe8fe9 /Doc/library/optparse.rst | |
parent | 5d20a71b2054bb1cdf5676414dfb6957ca844bff (diff) | |
download | cpython-e8e1ef2b43ba0bedf0069334f115a58afb126f0c.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'Doc/library/optparse.rst')
-rw-r--r-- | Doc/library/optparse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index 7989d332da..3805d965c0 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -794,7 +794,7 @@ And to define an option with only a long option string:: The keyword arguments define attributes of the new Option object. The most important option attribute is :attr:`action`, and it largely determines which other attributes are relevant or required. If you pass irrelevant option -attributes, or fail to pass required ones, :mod:`optparse` raises an +attributes, or fail to pass required ones, :mod:`optparse` raises an :exc:`OptionError` exception explaining your mistake. An option's *action* determines what :mod:`optparse` does when it encounters |