mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merge 3.2
This commit is contained in:
commit
aabbda5354
27 changed files with 51 additions and 54 deletions
|
@ -500,7 +500,7 @@ class Dispatcher:
|
|||
for help_option, short, desc, func in cmd_class.help_options:
|
||||
if hasattr(opts, help_option.replace('-', '_')):
|
||||
help_option_found = True
|
||||
if hasattr(func, '__call__'):
|
||||
if callable(func):
|
||||
func()
|
||||
else:
|
||||
raise PackagingClassError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue