Scans `python_modules` with :py:func:`scan` and adds found providers
    to `module`'s :py:attr:`wiring.configuration.Module.providers`.

    `ignore` argument is passed through to :py:func:`scan`.

def scan_to_module(python_modules, module, ignore=tuple()):
    """
    Scans `python_modules` with :py:func:`scan` and adds found providers
    to `module`'s :py:attr:`wiring.configuration.Module.providers`.

    `ignore` argument is passed through to :py:func:`scan`.
    """
    def callback(specification, provider):
        module.providers[specification] = provider
    scan(python_modules, callback, ignore=ignore)