f9b1009b40b31d4dc7e71b558e0056488e904175,src/python/pants/backend/core/tasks/targets_help.py,TargetsHelp,_get_installed_targets,#Any#,154
Before Change
def _get_installed_targets(target_types):
List installed targets and their one-line description.
lines = [TargetsHelp.INSTALLED_TARGETS_HEADER]
for target_type in sorted(target_types.keys() ):
if target_types[target_type].__doc__ is None:
desc = "Description unavailable."
else:
After Change
def _get_installed_targets(installed_target_aliases_to_target_types):
List installed targets and their one-line description.
target_aliases = installed_target_aliases_to_target_types.keys()
max_alias_length = max(len(target_alias) for target_alias in target_aliases)
lines = [TargetsHelp.INSTALLED_TARGETS_HEADER]
for target_alias in sorted(target_aliases):
if installed_target_aliases_to_target_types[target_alias].__doc__ is None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: pantsbuild/pants
Commit Name: f9b1009b40b31d4dc7e71b558e0056488e904175
Time: 2014-08-21
Author: jinfeng@outlook.com
File Name: src/python/pants/backend/core/tasks/targets_help.py
Class Name: TargetsHelp
Method Name: _get_installed_targets
Project Name: kymatio/kymatio
Commit Name: 03b37448e0a82c82f80f5fedfd7bf263852ec87b
Time: 2018-11-21
Author: AndreuxMath@users.noreply.github.com
File Name: scattering/scattering1d/filter_bank.py
Class Name:
Method Name: scattering_filter_factory
Project Name: chainer/chainercv
Commit Name: 528450904016b83990dc629ce1ac4c93eec0ab3c
Time: 2018-06-10
Author: yuyuniitani@gmail.com
File Name: chainercv/evaluations/eval_detection_coco.py
Class Name:
Method Name: eval_detection_coco