diff options
| author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-10-28 14:45:05 +0200 |
|---|---|---|
| committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-10-28 14:45:05 +0200 |
| commit | 427ee765c3c78e3aa63cd17881a4b70a009e8857 (patch) | |
| tree | b42cba0a7df146daabd3787d594b8bce3748ece5 /dist.py | |
| parent | e70a6aed3ac452c83b45bd30ba7efb0d8e388021 (diff) | |
| download | python-setuptools-git-427ee765c3c78e3aa63cd17881a4b70a009e8857.tar.gz | |
Closes #13258: Use callable() built-in in the standard library.
Diffstat (limited to 'dist.py')
| -rw-r--r-- | dist.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -537,7 +537,7 @@ Common commands: (see '--help-commands' for more) for (help_option, short, desc, func) in cmd_class.help_options: if hasattr(opts, parser.get_attr_name(help_option)): help_option_found=1 - if hasattr(func, '__call__'): + if callable(func): func() else: raise DistutilsClassError( |
