Kaydet (Commit) 981a1787 authored tarafından Fred Drake's avatar Fred Drake

Wrap a comment to fit in 80 columns.

Use construction-syntax for an exception to make the argument easier
to read.
üst db988b1e
...@@ -375,8 +375,8 @@ class Distribution: ...@@ -375,8 +375,8 @@ class Distribution:
help). help).
""" """
# #
# We now have enough information to show the Macintosh dialog that allows # We now have enough information to show the Macintosh dialog
# the user to interactively specify the "command line". # that allows the user to interactively specify the "command line".
# #
if sys.platform == 'mac': if sys.platform == 'mac':
import EasyDialogs import EasyDialogs
...@@ -508,10 +508,10 @@ class Distribution: ...@@ -508,10 +508,10 @@ class Distribution:
if callable(func): if callable(func):
func() func()
else: else:
raise DistutilsClassError, \ raise DistutilsClassError(
("invalid help function %s for help option '%s': " "invalid help function %s for help option '%s': "
"must be a callable object (function, etc.)") % \ "must be a callable object (function, etc.)"
(`func`, help_option) % (`func`, help_option))
if help_option_found: if help_option_found:
return return
......
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