

def register_subsystems(self, subsystems):
    'Registers the given subsystem types.\n\n    :param subsystems: The subsystem types to register.\n    :type subsystems: :class:`collections.Iterable` containing\n                      :class:`pants.subsystem.subsystem.Subsystem` subclasses.\n    '
    if (not isinstance(subsystems, Iterable)):
        raise TypeError('The subsystems must be an iterable, given {}'.format(s))
    invalid_subsystems = [s for s in subsystems if (not self._is_subsystem_type(s))]
    if invalid_subsystems:
        raise TypeError('The following items from the given subsystems are not Subsystem subclasses:\n\t{}'.format('\n\t'.join((str(i) for i in invalid_subsystems))))
    self._subsystems.update(subsystems)

dataset/ETHPy150Open pantsbuild/pants/src/python/pants/build_graph/build_configuration.py BuildConfiguration.register_subsystems/VarMisuse@34/137 `subsystems`->`s`