mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Wrap a comment to fit in 80 columns.
Use construction-syntax for an exception to make the argument easier to read.
This commit is contained in:
parent
db988b1ed3
commit
981a1787b7
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue