summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-08-10 18:59:30 (GMT)
committerFred Drake <fdrake@acm.org>2001-08-10 18:59:30 (GMT)
commit981a1787b7de07033dff56bc8bf8af631a3b181d (patch)
tree9bda48d83ee1abd514767ccc962847578da6eba1 /Lib
parentdb988b1ed357690f67da827442c56d209bc0ecea (diff)
downloadcpython-981a1787b7de07033dff56bc8bf8af631a3b181d.zip
cpython-981a1787b7de07033dff56bc8bf8af631a3b181d.tar.gz
cpython-981a1787b7de07033dff56bc8bf8af631a3b181d.tar.bz2
Wrap a comment to fit in 80 columns.
Use construction-syntax for an exception to make the argument easier to read.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/dist.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 824a0d3..3803f5c 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -375,8 +375,8 @@ class Distribution:
help).
"""
#
- # We now have enough information to show the Macintosh dialog that allows
- # the user to interactively specify the "command line".
+ # We now have enough information to show the Macintosh dialog
+ # that allows the user to interactively specify the "command line".
#
if sys.platform == 'mac':
import EasyDialogs
@@ -508,10 +508,10 @@ class Distribution:
if callable(func):
func()
else:
- raise DistutilsClassError, \
- ("invalid help function %s for help option '%s': "
- "must be a callable object (function, etc.)") % \
- (`func`, help_option)
+ raise DistutilsClassError(
+ "invalid help function %s for help option '%s': "
+ "must be a callable object (function, etc.)"
+ % (`func`, help_option))
if help_option_found:
return